mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-15 17:31:42 +08:00
20 lines
414 B
C#
20 lines
414 B
C#
|
@namespace AntDesign
|
||
|
@inherits AntDomComponentBase
|
||
|
|
||
|
<div class="ant-ribbon-wrapper">
|
||
|
@if (ChildContent != null)
|
||
|
{
|
||
|
@ChildContent
|
||
|
}
|
||
|
<div class="@ClassMapper.Class" style="@colorStyle">
|
||
|
@if (Text.IsT0)
|
||
|
{
|
||
|
@Text.AsT0
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
@Text.AsT1
|
||
|
}
|
||
|
<div class="ant-ribbon-corner" style="@cornerColorStyle"/>
|
||
|
</div>
|
||
|
</div>
|