middag-react
    Preparing search index...

    Interface CardGridBlockData

    interface CardGridBlockData {
        columns: CardGridColumnDef[];
        editHref?: string;
        emptyState?: EmptyStateDef;
        rowActions?: ConditionalAction[];
        rows: Record<string, unknown>[];
        variant?: "default" | "store" | "connector";
    }
    Index
    editHref?: string

    URL pattern for an edit shortcut icon on each card. Interpolated per row (e.g. "/stores/{id}/edit").

    emptyState?: EmptyStateDef
    rowActions?: ConditionalAction[]

    Per-card action buttons (e.g. delete), rendered alongside the edit shortcut.

    rows: Record<string, unknown>[]
    variant?: "default" | "store" | "connector"