UNPKG

559 BTypeScriptView Raw
1import { ReactElement, RefAttributes } from 'react';
2import { GroupBase } from './types';
3import Select from './Select';
4import type { StateManagerProps } from './useStateManager';
5export type { StateManagerProps };
6declare type StateManagedSelect = <Option = unknown, IsMulti extends boolean = false, Group extends GroupBase<Option> = GroupBase<Option>>(props: StateManagerProps<Option, IsMulti, Group> & RefAttributes<Select<Option, IsMulti, Group>>) => ReactElement;
7declare const StateManagedSelect: StateManagedSelect;
8export default StateManagedSelect;