import clsx from "clsx"; type Props = { /** * The stat name. */ name?: string; /** * The background color of the stat. */ color?: string; /** * The value of the stat. */ value: React.ReactNode; }; export default function StatValue({ name, color, value }: Props) { return (
{name}
> )}{value}
: value}