Skip to content

A Swiss Army knife for developers.

790 B
Raw Blame
@namespace DevToys.Blazor.Components.UIElements
@using DevToys.Api;
@inherits ComponentBase

<InfoBar id="@UIInfoBar.Id"
         IsVisible="@UIInfoBar.IsVisible"
         IsEnabled="@UIInfoBar.IsEnabled"
         HorizontalAlignment="@UIInfoBar.HorizontalAlignment"
         VerticalAlignment="@UIInfoBar.VerticalAlignment"
         IsOpened="@UIInfoBar.IsOpened"
         IsClosable="@UIInfoBar.IsClosable"
         IsIconVisible="@UIInfoBar.IsIconVisible"
         Title="@UIInfoBar.Title"
         Message="@UIInfoBar.Description"
         ActionButtonText="@UIInfoBar.ActionButtonText"
         IsActionButtonAccent="@UIInfoBar.IsActionButtonAccent"
         Severity="@GetSeverity()"
         Closed="@OnCloseAsync"
         ActionButtonClicked="@OnActionButtonClickAsync">
</InfoBar>