mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-05 13:37:35 +08:00
23 lines
419 B
C#
23 lines
419 B
C#
@namespace AntDesign
|
|
@inherits AntDomComponentBase
|
|
|
|
<header class="@ClassMapper.Class" @ref="Ref" style="@Style" id="@Id">
|
|
@ChildContent
|
|
</header>
|
|
|
|
@code {
|
|
|
|
[Parameter]
|
|
public RenderFragment ChildContent { get; set; }
|
|
|
|
|
|
protected override void OnInitialized()
|
|
{
|
|
base.OnInitialized();
|
|
ClassMapper.Clear()
|
|
.Add("ant-layout-header")
|
|
.Add("ant-header");
|
|
}
|
|
|
|
}
|