export default function DeckModeIndicator({ current, target, game }) { const progress = target > 0 ? Math.min(current / target, 1) : 0; const isComplete = current >= target; return (
{/* Progress track */}
{/* Labels */}
{isComplete ? 'Deck complete!' : `${current}/${target} cards`} {game}
); }