import { ElementType } from 'react'; export interface DropdownOption { [key: string]: any; } export interface IDropdown { options: T[]; initialText?: string; size?: 'small' | 'medium' | 'large'; color?: 'primary' | 'secondary' | 'tertiary' | 'quaternary' | 'quinary'; contentPosition?: 'top' | 'bottom'; valueKey?: keyof T; labelKey?: keyof T; defaultValue?: T; PreIcon?: ElementType; PostIcon?: ElementType; disabled?: boolean; onSelect?: (option: T) => void; field?: any; required?: boolean; errorMessage?: string; ariaDescribedBy?: string; }