@namespace Connected.Components @using Connected.Extensions; @using Connected.Utilities; @if (!DisableToolbar) { @ChildContent } @code { protected string Classnames => new CssBuilder("mud-picker-toolbar") .AddClass($"mud-theme-{Color.ToDescriptionString()}") .AddClass("mud-picker-toolbar-landscape", Orientation == Orientation.Landscape) .AddClass(Class) .Build(); [Parameter] public string Class { get; set; } [Parameter] public string Style { get; set; } [Parameter] public bool DisableToolbar { get; set; } [Parameter] public Orientation Orientation { get; set; } [Parameter] public ThemeColor Color { get; set; } [Parameter] public RenderFragment ChildContent { get; set; } }