@namespace AntDesign @inherits AntDomComponentBase
@ChildContent
@code { [Parameter] public RenderFragment ChildContent { get; set; } private bool _hasSider; protected override void OnInitialized() { base.OnInitialized(); ClassMapper .Add("ant-layout") .If("ant-layout-has-sider", () => _hasSider); } internal void HasSider() { _hasSider = true; StateHasChanged(); } }