import { FunctionComponent } from 'react'; /** * Properties */ export type ObjectSelectProps = { value: any; items: any[]; onSelect: (value: any) => void; itemToString: (value: any) => string; itemIsDivider?: (value: any) => boolean; itemToTestId?: (value: any) => string; noSelectionLabel?: string; toggleId?: string; toggleClassname?: string; testId?: string; appendTo?: "inline" | "document"; }; /** * A generic control that makes it easier to create a