import { ElementType } from 'react'; export type ComboboxItem = { /** Value to be passed to onChange */ value: T; /** Label to render on input when selected. `value` will be used if this is not provided */ label?: string; /** Description to render below label if provided */ description?: string; /** Whether item is disabled */ disabled?: boolean; /** Icon to display in input field when item is selected, if available */ icon?: ElementType; [key: string]: any; } | string | null;