@inherits DComponentBase
@* One stat of a DStats: ChildContent is the value (stat-value); each slot renders its part only when set. *@
@if (Figure is not null)
{
@Figure
}
@if (Heading is not null)
{
@Heading
}
@if (ChildContent is not null)
{
@ChildContent
}
@if (Desc is not null)
{
@Desc
}
@if (Actions is not null)
{
@Actions
}
@code {
[Parameter] public RenderFragment ChildContent { get; set; }
[Parameter] public RenderFragment Figure { get; set; }
[Parameter] public RenderFragment Heading { get; set; }
[Parameter] public RenderFragment Desc { get; set; }
[Parameter] public RenderFragment Actions { get; set; }
///