import clsx from "clsx";
interface Props {
items: {
name: string;
stat: string;
hint?: string;
}[];
}
export default function SimpleStats({ items }: Props) {
return (
{items.map((item) => (
// Subframe StatsCard layout: rounded-md, px-4 py-4, gap-3, body-default label / subtitle value
- {item.name}
-
{item.stat} {item.hint && {item.hint}}
))}
);
}