'use client';
import {
Select,
SelectContent,
SelectItem,
SelectTrigger,
SelectValue,
} from '@/components/ui/select';
import { SUPPORTED_CURRENCIES } from '@/lib/utils/currency';
interface CurrencySelectProps {
value: string | undefined;
onValueChange: (value: string) => void;
disabled?: boolean;
id?: string;
className?: string;
}
/**
* Select dropdown over the curated `SUPPORTED_CURRENCIES` list. Replaces
* the free-text `` price-currency spots so reps
* can't typo "EURO" or "$$$" into a 3-letter ISO column.
*/
export function CurrencySelect({
value,
onValueChange,
disabled,
id,
className,
}: CurrencySelectProps) {
return (
);
}