import type { Color } from '@yaakapp-internal/plugins'; import classNames from 'classnames'; interface Props { count: number | true; count2?: number | true; className?: string; color?: Color; showZero?: boolean; } export function CountBadge({ count, count2, className, color, showZero }: Props) { if (count === 0 && !showZero) return null; return (