TorbatYar/frontend/modules/delivery/design-system/DeliveryStatGrid.tsx
Mortezakoohjani 7978970783 feat(delivery): add Torbat Driver frontend module with real API wiring.
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>
2026-07-27 12:02:01 +03:30

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>
);
}