using Connected.Annotations;
using Connected.Utilities;
using Microsoft.AspNetCore.Components;
namespace Connected.Components;
public partial class Card : UIComponent
{
protected string Classname =>
new CssBuilder("mud-card")
.AddClass(Class)
.Build();
///
/// The higher the number, the heavier the drop-shadow. 0 for no shadow.
///
[Parameter]
[Category(CategoryTypes.Card.Appearance)]
public int Elevation { set; get; } = 1;
///
/// If true, border-radius is set to 0.
///
[Parameter]
[Category(CategoryTypes.Card.Appearance)]
public bool Square { get; set; }
///
/// If true, card will be outlined.
///
[Parameter]
[Category(CategoryTypes.Card.Appearance)]
public bool Outlined { get; set; }
///
/// Child content of the component.
///
[Parameter]
[Category(CategoryTypes.Card.Behavior)]
public RenderFragment ChildContent { get; set; }
}