ant-design-blazor/components/divider/Divider.razor

19 lines
406 B
C#
Raw Normal View History

@namespace AntDesign
2019-12-18 16:57:00 +08:00
@inherits AntDomComponentBase
<span class="@ClassMapper.Class" style="@Style" id="@Id" @ref="Ref">
@if (Text != null || ChildContent != null)
2019-12-18 16:57:00 +08:00
{
<span class="ant-divider-inner-text">
@if (Text != null)
{
@Text
}
else
{
@ChildContent
}
</span>
2019-12-18 16:57:00 +08:00
}
</span>