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.
42 lines
1.1 KiB
42 lines
1.1 KiB
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();
|
|
|
|
/// <summary>
|
|
/// If used renders child content of the CardHeaderAvatar.
|
|
/// </summary>
|
|
[Parameter]
|
|
[Category(CategoryTypes.Card.Behavior)]
|
|
public RenderFragment CardHeaderAvatar { get; set; }
|
|
|
|
/// <summary>
|
|
/// If used renders child content of the CardHeaderContent.
|
|
/// </summary>
|
|
[Parameter]
|
|
[Category(CategoryTypes.Card.Behavior)]
|
|
public RenderFragment CardHeaderContent { get; set; }
|
|
|
|
/// <summary>
|
|
/// If used renders child content of the CardHeaderActions.
|
|
/// </summary>
|
|
[Parameter]
|
|
[Category(CategoryTypes.Card.Behavior)]
|
|
public RenderFragment CardHeaderActions { get; set; }
|
|
|
|
/// <summary>
|
|
/// Optional child content
|
|
/// </summary>
|
|
[Parameter]
|
|
[Category(CategoryTypes.Card.Behavior)]
|
|
public RenderFragment ChildContent { get; set; }
|
|
}
|