import { ChevronDown } from 'lucide-react'; import React,{ forwardRef } from 'react'; export interface SelectOption { value: string | number; label: string; disabled?: boolean; } export interface SelectProps extends React.SelectHTMLAttributes { options?: SelectOption[]; error?: string; children?: React.ReactNode; } export const Select = forwardRef( ({ className = '', error, options, children, disabled, ...props }, ref) => { return (
{error && (

• {error}

)}
); } ); Select.displayName = 'Select'; export default Select;