ant-design-blazor/components/layout/Content.razor

24 строки
427 B
C#

@namespace AntDesign
@inherits AntDomComponentBase
<main class="@ClassMapper.Class" @ref="Ref" style="@Style" id="@Id">
@ChildContent
</main>
@code {
/// <summary>
/// The inner content
/// </summary>
[Parameter]
public RenderFragment ChildContent { get; set; }
protected override void OnInitialized()
{
ClassMapper.Add("ant-layout-content");
base.OnInitialized();
}
}