Skip to content

A Swiss Army knife for developers.

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

<FontIcon id="@UIIcon.Id"
          IsVisible="@UIIcon.IsVisible"
          IsEnabled="@UIIcon.IsEnabled"
          HorizontalAlignment="@UIIcon.HorizontalAlignment"
          VerticalAlignment="@UIIcon.VerticalAlignment"
          Glyph="@(UIIcon is IUIUtf32GlyphProvider provider ? provider.Utf32Glyph : UIIcon.Glyph)"
          FontFamily="@UIIcon.FontName"
          Height="@UIIcon.Size"
          Width="@UIIcon.Size" />