forked from JedWatson/react-select
/
index.ts
58 lines (56 loc) · 1.87 KB
/
index.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
import Select from './Select';
import { GroupBase } from './types';
import useStateManager from './useStateManager';
export { default } from './stateManager';
export { default as NonceProvider } from './NonceProvider';
export { mergeStyles } from './styles';
export { defaultTheme } from './theme';
export { createFilter } from './filters';
export { components } from './components';
export type SelectInstance<
Option = unknown,
IsMulti extends boolean = false,
Group extends GroupBase<Option> = GroupBase<Option>
> = Select<Option, IsMulti, Group>;
export type { StateManagerProps as Props } from './useStateManager';
export { useStateManager };
export type { SelectComponentsConfig } from './components';
export type {
ContainerProps,
IndicatorsContainerProps,
ValueContainerProps,
} from './components/containers';
export type { ControlProps } from './components/Control';
export type { GroupProps, GroupHeadingProps } from './components/Group';
export type {
ClearIndicatorProps,
DropdownIndicatorProps,
IndicatorSeparatorProps,
LoadingIndicatorProps,
} from './components/indicators';
export type { InputProps } from './components/Input';
export type { MenuListProps, MenuProps, NoticeProps } from './components/Menu';
export type {
MultiValueGenericProps,
MultiValueProps,
MultiValueRemoveProps,
} from './components/MultiValue';
export type { OptionProps } from './components/Option';
export type { PlaceholderProps } from './components/Placeholder';
export type { SingleValueProps } from './components/SingleValue';
export type { ThemeConfig } from './theme';
export type { StylesConfig } from './styles';
export * from './types';
export type {
OptionContext,
GuidanceContext,
AriaGuidanceProps,
AriaOnChangeProps,
AriaOnFilterProps,
AriaOnFocusProps,
AriaLiveMessages,
AriaGuidance,
AriaOnChange,
AriaOnFilter,
AriaOnFocus,
} from './accessibility';