mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-15 09:21:24 +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; }
|
|
}
|