interface IOption { id: string; value: string; } interface ISelectProps extends React.SelectHTMLAttributes { multiple?: boolean; options: T[]; selected?: T; // onClose: () => void; } export default function Select({ multiple, options, selected, onClose, ...props }: ISelectProps) { return ( ); }