mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-15 09:21:24 +08:00
19 lines
521 B
C#
19 lines
521 B
C#
@namespace AntDesign
|
|
@inherits AntDomComponentBase
|
|
|
|
<CascadingValue Value="this">
|
|
<div class="@ClassMapper.Class" style="@Style" id="@Id" @ref="Ref">
|
|
@ChildContent
|
|
@if (AutoGenerate)
|
|
{
|
|
foreach (var breadcrumb in _breadcrumbs)
|
|
{
|
|
<BreadcrumbItem>
|
|
<a href="@breadcrumb.Url" @onclick="(e)=>Navigate(breadcrumb.Url.ToString())">@breadcrumb.Label</a>
|
|
</BreadcrumbItem>
|
|
}
|
|
}
|
|
</div>
|
|
</CascadingValue>
|
|
|