parent
56cef22d26
commit
b01b4e42df
@ -1,20 +1,7 @@
|
||||
@namespace Connected.Components
|
||||
@using Connected.Annotations;
|
||||
@using Connected.Utilities;
|
||||
@inherits UIComponent
|
||||
|
||||
<div @attributes="CustomAttributes" class="@Classname">
|
||||
<div @attributes="CustomAttributes" class="@CompiledClassList.Build()">
|
||||
@ChildContent
|
||||
</div>
|
||||
|
||||
@code {
|
||||
|
||||
protected string Classname =>
|
||||
new CssBuilder("main-content")
|
||||
.AddClass(AdditionalClassList)
|
||||
.Build();
|
||||
|
||||
[Parameter]
|
||||
[Category(CategoryTypes.MainContent.Behavior)]
|
||||
public RenderFragment ChildContent { get; set; }
|
||||
}
|
Loading…
Reference in new issue