You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
497 B
24 lines
497 B
using Connected.Utilities;
|
|
using Microsoft.AspNetCore.Components;
|
|
|
|
namespace Connected.Components;
|
|
public partial class MainContent
|
|
{
|
|
private CssBuilder CompiledClassList
|
|
{
|
|
get
|
|
{
|
|
return new CssBuilder("main-content")
|
|
.AddClass(ClassList);
|
|
}
|
|
}
|
|
[Parameter]
|
|
public RenderFragment ChildContent { get; set; }
|
|
|
|
/// <summary>
|
|
/// A space separated list of class names, added on top of the default class list.
|
|
/// </summary>
|
|
[Parameter]
|
|
public string? ClassList { get; set; }
|
|
}
|