You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Connected.Components/Components/Badge/Badge.razor

25 lines
460 B

@namespace Connected.Components
@inherits UIComponent
<span @attributes="UserAttributes" class="@Classname" style="@Style">
@ChildContent
@if (Visible)
{
<span class="@WrapperClass">
<span class="@BadgeClassName" @onclick="HandleBadgeClick">
@if (!Dot)
{
@if (!String.IsNullOrEmpty(Icon))
{
<Icon Icon="@Icon" Class="mud-icon-badge" />
}
else
{
@_content
}
}
</span>
</span>
}
</span>