function createStatCardRow
createStatCardRow(
stats: StatCardProps[],
options?: { gap?: "sm" | "md" | "lg"; columns?: number; }
): HTMLDivElement

Create a row of stat cards

Examples

Example 1

const stats = createStatCardRow([ { value: 6, label: 'Total Checks' }, { value: 6, label: 'Healthy', variant: 'success' }, { value: 0, label: 'Alerts', variant: 'error' }, ]);

Parameters

optional
options: { gap?: "sm" | "md" | "lg"; columns?: number; }

Return Type

HTMLDivElement

Usage

import { createStatCardRow } from ".";