import React from 'react'; import { ChevronDown } from 'lucide-react'; export interface SelectOption { value: string; label: string; disabled?: boolean; } interface SelectProps { value: string; onChange: (value: string) => void; options: SelectOption[]; label?: string; placeholder?: string; error?: string; disabled?: boolean; name?: string; } const Select: React.FC = ({ value, onChange, options, label, placeholder, error, disabled = false, name, }) => { return (
{label && ( )}
{error && ( {error} )}
); }; export default Select;