import { ReactElement } from 'react'; export type PlainObject = { [key: string]: any; }; export type FnValueToString = (value: ValueType | null) => string; export type ComponentType = (props: PropsType) => ReactElement; export type ComponentStyleType = null | string | PlainObject | ((context: ContextType) => string | null); export type Option = { value: ValueType; label: string; disabled?: boolean; };