Added initial components.

This commit is contained in:
2025-11-30 16:35:54 -05:00
parent b2ef08c995
commit de00bee801
13 changed files with 266 additions and 13 deletions

View File

@@ -0,0 +1,24 @@
@using JSMR.UI.Blazor.Enums
<BitTooltip Text="@Tooltip">
<div class="j-input-prefix background-color-@BackgroundColor.ToString().ToLower()">
<Icon Color="Color" Size="SizeVarient.Small" Graphic="Graphic" Varient="IconVarient"></Icon>
</div>
</BitTooltip>
@code {
[Parameter]
public Graphic Graphic { get; set; }
[Parameter]
public IconVarient IconVarient { get; set; } = IconVarient.None;
[Parameter]
public ColorVarient Color { get; set; } = ColorVarient.Primary;
[Parameter]
public ColorVarient BackgroundColor { get; set; } = ColorVarient.Black;
[Parameter]
public string? Tooltip { get; set; }
}