mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-15 17:31:42 +08:00
20 lines
363 B
C#
20 lines
363 B
C#
@namespace AntDesign
|
|
@inherits AntDomComponentBase
|
|
|
|
<main class="@ClassMapper.Class" @ref="Ref" style="@Style" id="@Id">
|
|
@ChildContent
|
|
</main>
|
|
|
|
@code {
|
|
[Parameter]
|
|
public RenderFragment ChildContent { get; set; }
|
|
|
|
protected override void OnInitialized()
|
|
{
|
|
ClassMapper.Add("ant-layout-content");
|
|
|
|
base.OnInitialized();
|
|
}
|
|
|
|
}
|