mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-15 01:11:52 +08:00
d16144ece0
* refactor: button * refactor: avatar * refactor: alert * fix: input group compact
18 lines
462 B
C#
18 lines
462 B
C#
@namespace AntDesign
|
|
@inherits AntDomComponentBase
|
|
|
|
<CascadingValue Value="this">
|
|
<button class="@ClassMapper.Class" style="@Style" id="@Id" @onclick="HandleOnClick" disabled="@Disabled">
|
|
@if (Loading)
|
|
{
|
|
<AntIcon Type="loading"></AntIcon>
|
|
}
|
|
@if (!string.IsNullOrEmpty(Icon))
|
|
{
|
|
<AntIcon Type="@Icon" Style="@IconStyle"></AntIcon>
|
|
}
|
|
|
|
@ChildContent
|
|
</button>
|
|
</CascadingValue>
|