import type { QuickStatItem } from "@/modules/system/components/system-widgets/types"; import { WidgetCard } from "@/modules/system/components/system-widgets/widget-card"; type QuickStatsCardProps = { stats: QuickStatItem[]; }; export function QuickStatsCard({ stats }: QuickStatsCardProps) { return (
{stats.map((item) => (
{item.value} {item.label} {item.sub}
))}
); }