mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-15 17:31:42 +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");
|
|
}
|
|
|
|
}
|