@namespace Connected.Components
@using Connected.Annotations;
@using Connected.Utilities;
@inherits UIComponent
@ChildContent
@code {
protected string Classname =>
new CssBuilder("mud-toolbar")
.AddClass($"mud-toolbar-dense", Dense)
.AddClass($"mud-toolbar-gutters", !DisableGutters)
.AddClass(Class)
.Build();
///
/// If true, compact padding will be used.
///
[Parameter]
[Category(CategoryTypes.ToolBar.Appearance)]
public bool Dense { get; set; }
///
/// If true, disables gutter padding.
///
[Parameter]
[Category(CategoryTypes.ToolBar.Appearance)]
public bool DisableGutters { get; set; }
///
/// Child content of component.
///
[Parameter]
[Category(CategoryTypes.ToolBar.Behavior)]
public RenderFragment ChildContent { get; set; }
}