ant-design-blazor/components/icon/Icon.razor

14 lines
332 B
C#
Raw Normal View History

@namespace AntDesign
@inherits AntDomComponentBase
2019-12-11 00:23:10 +08:00
2020-08-04 15:10:29 +08:00
<span role="img" class="@ClassMapper.Class" style="@Style" id="@Id" @onclick="HandleOnClick" @onclick:stopPropagation="StopPropagation" tabindex="@TabIndex">
@if (Component == null)
{
@((MarkupString) _svgImg)
}
else
{
@Component
}
</span>