mirror of
https://github.com/radzenhq/radzen-blazor.git
synced 2026-02-04 05:35:44 +00:00
16 lines
600 B
Plaintext
16 lines
600 B
Plaintext
@inherits RadzenComponent
|
|
@if (Visible)
|
|
{
|
|
<li class=@ItemClass role="menuitem" @onclick="@OnClick" @attributes="Attributes" style="@Style">
|
|
<a id="@(SplitButton?.SplitButtonId() + GetHashCode())" class="rz-menuitem-link">
|
|
@if (!string.IsNullOrEmpty(Icon))
|
|
{
|
|
<span class="rz-menuitem-icon" style="@(!string.IsNullOrEmpty(IconColor) ? $"color:{IconColor}" : null)">@Icon</span>
|
|
}
|
|
@if (!string.IsNullOrEmpty(Text))
|
|
{
|
|
<span class="rz-menuitem-text">@Text</span>
|
|
}
|
|
</a>
|
|
</li>
|
|
} |