@model PlanTempus.Application.Features.Dashboard.Components.QuickStatListViewModel

<swp-card data-key="@Model.Key">
    <swp-card-header>
        <swp-card-title>
            <i class="ph ph-@Model.Icon"></i>
            @Model.Title
        </swp-card-title>
    </swp-card-header>
    <swp-card-content>
        <swp-quick-stats>
            @foreach (var statKey in Model.StatKeys)
            {
                @await Component.InvokeAsync("QuickStat", statKey)
            }
        </swp-quick-stats>
    </swp-card-content>
</swp-card>
