export type Tile = { k: string; v: number | string; unit?: string; accent?: boolean }; export function StatTiles({ items }: { items: Tile[] }) { return (
{items.map((t) => (
{t.k}
{t.v} {t.unit ? {t.unit} : null}
))}
); }