mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-14 08:51:27 +08:00
15 lines
237 B
C#
15 lines
237 B
C#
@namespace AntDesign
|
|
@inherits AntDomComponentBase
|
|
|
|
@if (If == null || If.Invoke())
|
|
{
|
|
@ChildContent
|
|
}
|
|
|
|
@code{
|
|
|
|
[Parameter] public RenderFragment ChildContent { get; set; }
|
|
|
|
[Parameter] public Func<bool> If { get; set; }
|
|
}
|