2020-05-29 00:33:49 +08:00
|
|
|
@namespace AntDesign
|
2020-03-08 22:32:30 +08:00
|
|
|
@inherits AntDomComponentBase
|
|
|
|
|
2020-05-22 00:05:26 +08:00
|
|
|
<span>
|
2020-03-08 22:32:30 +08:00
|
|
|
|
2020-04-23 17:13:56 +08:00
|
|
|
@if (Overlay != null)
|
2020-03-08 22:32:30 +08:00
|
|
|
{
|
|
|
|
<span class="ant-breadcrumb-overlay-link" nz-dropdown [nzDropdownMenu]="nzOverlay">
|
|
|
|
<span class="ant-breadcrumb-link">
|
|
|
|
@ChildContent
|
|
|
|
</span>
|
2020-06-07 19:41:00 +08:00
|
|
|
<Icon Type="down"></Icon>
|
2020-03-08 22:32:30 +08:00
|
|
|
</span>
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
<span class="ant-breadcrumb-link">
|
|
|
|
@ChildContent
|
|
|
|
</span>
|
|
|
|
}
|
|
|
|
|
2020-05-22 00:05:26 +08:00
|
|
|
@if (BreadCrumb?.Separator != null)
|
2020-03-08 22:32:30 +08:00
|
|
|
{
|
|
|
|
<span class="ant-breadcrumb-separator">
|
2020-04-23 17:13:56 +08:00
|
|
|
@BreadCrumb.Separator
|
2020-03-08 22:32:30 +08:00
|
|
|
</span>
|
|
|
|
}
|
|
|
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
@code {
|
|
|
|
|
|
|
|
[Parameter]
|
|
|
|
public RenderFragment ChildContent { get; set; }
|
|
|
|
|
|
|
|
[Parameter]
|
2020-04-23 17:13:56 +08:00
|
|
|
public object Overlay { get; set; }
|
2020-03-08 22:32:30 +08:00
|
|
|
|
|
|
|
[CascadingParameter]
|
2020-05-22 00:05:26 +08:00
|
|
|
public Breadcrumb BreadCrumb { get; set; }
|
2020-03-08 22:32:30 +08:00
|
|
|
}
|