/// import { ItemRendererProps } from '@blueprintjs/select'; export interface SelectOptionProps { disabled?: boolean; /** Label of this option. */ label?: string; /** Text of this option. */ text?: string; /** Value of this option. */ value?: string | number; } export interface FormikItemRendererState { isSelected: boolean; } export type FormikItemRenderer = (item: T, itemProps: ItemRendererProps, { isSelected }: FormikItemRendererState) => JSX.Element | null; export type Accessor = string | ((activeItem: T) => void);