mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-15 09:21:24 +08:00
f9b615c2ca
...for affix,back-top,breadcrumb,card,divider,typogragpy and timeline Co-authored-by: ElderJames <shunjiey@hotmail.com>
18 lines
467 B
C#
18 lines
467 B
C#
@namespace AntDesign
|
|
@inherits AntDomComponentBase
|
|
|
|
<CascadingValue Value="this">
|
|
<button class="@ClassMapper.Class" style="@Style" id="@Id" type="@HtmlType" @onclick="HandleOnClick" disabled="@Disabled">
|
|
@if (Loading)
|
|
{
|
|
<Icon Type="loading"></Icon>
|
|
}
|
|
@if (!string.IsNullOrEmpty(Icon))
|
|
{
|
|
<Icon Type="@Icon" Style="@IconStyle"></Icon>
|
|
}
|
|
|
|
@ChildContent
|
|
</button>
|
|
</CascadingValue>
|