<div class="card-form-modal">
    <div class="card-form-modal-title @ClassTitle">
        <MudText Style="font-weight: 800" Typo="Typo.subtitle1">@Title</MudText>
    </div>
    <div class="card-form-modal-body @ClassBody">
        @if (Loading)
        {
            <MudSkeleton/>
        }
        else
        {
            @ChildContent
        }
    </div>
</div>

@code {
    [Parameter] public string Title { get; set; } = "";
    [Parameter] public bool Loading { get; set; }
    [Parameter] public RenderFragment? ChildContent { get; set; }
    [Parameter] public string ClassTitle { get; set; } = "";
    [Parameter] public string ClassBody { get; set; } = "";
}