Ship the delivery platform UI under modules/delivery with thin app routes, BFF proxy, CRUD for phase 10.0-10.1 APIs, and capability-gated future screens. Co-authored-by: Cursor <cursoragent@cursor.com>
18 lines
400 B
TypeScript
18 lines
400 B
TypeScript
"use client";
|
|
|
|
import { StatCard } from "@/components/ds";
|
|
|
|
export function DeliveryStatGrid({
|
|
stats,
|
|
}: {
|
|
stats: { label: string; value: string; hint?: string }[];
|
|
}) {
|
|
return (
|
|
<div className="grid gap-4 sm:grid-cols-2 xl:grid-cols-4">
|
|
{stats.map((s) => (
|
|
<StatCard key={s.label} label={s.label} value={s.value} hint={s.hint} />
|
|
))}
|
|
</div>
|
|
);
|
|
}
|