import Overlay from '@/components/ui/Overlay'; interface SelectedCounterProps { totalCount: number; selectedCount: number; position?: string; hideZero?: boolean; } function SelectedCounter({ totalCount, selectedCount, hideZero, position = 'top-0 left-0' }: SelectedCounterProps) { if (selectedCount === 0 && hideZero) { return null; } return ( Выбор {selectedCount} из {totalCount} ); } export default SelectedCounter;