mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-15 01:11:52 +08:00
47 lines
873 B
C#
47 lines
873 B
C#
@namespace AntDesign
|
|
@inherits AntDomComponentBase
|
|
|
|
<div class="@ClassMapper.Class">
|
|
<div class="@IconClassMapper.Class">
|
|
@if (IsImage)
|
|
{
|
|
@((MarkupString)_svgImage)
|
|
}
|
|
else
|
|
{
|
|
@BuildIcon
|
|
}
|
|
</div>
|
|
<div class="ant-result-title">
|
|
@if (Title.IsT0)
|
|
{
|
|
@Title.AsT0
|
|
}
|
|
else
|
|
{
|
|
@Title.AsT1
|
|
}
|
|
</div>
|
|
<div class="ant-result-subtitle">
|
|
@if (SubTitle.IsT0)
|
|
{
|
|
@SubTitle.AsT0
|
|
}
|
|
else
|
|
{
|
|
@SubTitle.AsT1
|
|
}
|
|
</div>
|
|
@if (ChildContent != null)
|
|
{
|
|
<div class="ant-result-content">
|
|
@ChildContent
|
|
</div>
|
|
}
|
|
@if (Extra != null)
|
|
{
|
|
<div class="ant-result-extra">
|
|
@Extra
|
|
</div>
|
|
}
|
|
</div> |