ant-design-blazor/components/icon/Icon.razor
James Yeung 01394b356f fix(module: icon): put spin class on outside (#372)
* fix(module: icon): put spin class on outside

* fix: make rotate style outside
2020-07-16 18:26:39 +08:00

14 lines
343 B
C#

@namespace AntDesign
@inherits AntDomComponentBase
<span role="img" class="@ClassMapper.Class" style="@IconStyle @Style" id="@Id" @onclick="HandleOnClick" @onclick:stopPropagation="StopPropagation" tabindex="@TabIndex">
@if (Component == null)
{
@((MarkupString) _svgImg)
}
else
{
@Component
}
</span>