using Connected.Annotations; using Connected.Utilities; using Microsoft.AspNetCore.Components; namespace Connected.Components; public partial class CardHeader : UIComponent { protected string Classname => new CssBuilder("mud-card-header") .AddClass(Class) .Build(); /// /// If used renders child content of the CardHeaderAvatar. /// [Parameter] [Category(CategoryTypes.Card.Behavior)] public RenderFragment CardHeaderAvatar { get; set; } /// /// If used renders child content of the CardHeaderContent. /// [Parameter] [Category(CategoryTypes.Card.Behavior)] public RenderFragment CardHeaderContent { get; set; } /// /// If used renders child content of the CardHeaderActions. /// [Parameter] [Category(CategoryTypes.Card.Behavior)] public RenderFragment CardHeaderActions { get; set; } /// /// Optional child content /// [Parameter] [Category(CategoryTypes.Card.Behavior)] public RenderFragment ChildContent { get; set; } }