@namespace Lumeo

<p id="@Context.DescriptionId" class="@CssClass" @attributes="AdditionalAttributes">
    @ChildContent
</p>

@code {
    [CascadingParameter] public AlertDialog.AlertDialogContext Context { get; set; } = default!;
    [Parameter] public RenderFragment? ChildContent { get; set; }
    [Parameter] public string? Class { get; set; }
    [Parameter(CaptureUnmatchedValues = true)] public Dictionary<string, object>? AdditionalAttributes { get; set; }

    private string CssClass => $"text-sm text-muted-foreground {Class}".Trim();
}
