@ChildContent
@code{
[Parameter]
public RenderFragment ChildContent { get; set; } =@This is a default value;
[Parameter]
public AlertStyle Style { get; set; }
public enum AlertStyle
{
Primary,
Secondary,
Success,
Danger,
Warning,
Info,
Light,
Dark
}
}