mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-15 01:11:52 +08:00
17 lines
403 B
C#
17 lines
403 B
C#
@namespace AntDesign
|
|
@inherits ComponentBase
|
|
@typeparam TItem
|
|
|
|
<span class="ant-tree-indent" aria-hidden="true">
|
|
@for (int i = 0; i < TreeLevel; i++)
|
|
{
|
|
if (TreeComponent.IndentTemplate != null)
|
|
{
|
|
@TreeComponent.IndentTemplate(SelfNode)
|
|
}
|
|
else
|
|
{
|
|
<span class="ant-tree-indent-unit ng-star-inserted"></span>
|
|
}
|
|
}
|
|
</span> |