interface Props { count: number; } export function CountBadge({ count }: Props) { if (count === 0) return null; return ( <>
{count}
); }