ant-design-blazor/components/layout/Content.razor
James Yeung 90690fba01 docs: add some of layout demos (#138)
* feat: add layout demo

* feat: add some of layout demos
2020-05-22 00:05:26 +08:00

20 lines
363 B
Plaintext

@namespace AntBlazor
@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();
}
}