amis 1.6.0 → 1.6.1-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. package/lib/components/Alert.d.ts +588 -588
  2. package/lib/components/Alert2.d.ts +125 -20
  3. package/lib/components/AnchorNav.d.ts +104 -20
  4. package/lib/components/ArrayInput.d.ts +420 -420
  5. package/lib/components/AsideNav.d.ts +125 -125
  6. package/lib/components/AssociatedSelection.d.ts +504 -504
  7. package/lib/components/Avatar.d.ts +461 -20
  8. package/lib/components/Button.d.ts +167 -20
  9. package/lib/components/CalendarMobile.d.ts +420 -84
  10. package/lib/components/Card.d.ts +671 -20
  11. package/lib/components/ChainedSelection.d.ts +504 -504
  12. package/lib/components/Checkbox.d.ts +104 -20
  13. package/lib/components/Collapse.d.ts +587 -20
  14. package/lib/components/CollapseGroup.d.ts +230 -20
  15. package/lib/components/ColorPicker.d.ts +504 -504
  16. package/lib/components/DatePicker.d.ts +588 -588
  17. package/lib/components/DateRangePicker.d.ts +1008 -1008
  18. package/lib/components/Drawer.d.ts +125 -20
  19. package/lib/components/Editor.d.ts +840 -672
  20. package/lib/components/GroupedSelection.d.ts +504 -504
  21. package/lib/components/Html.d.ts +62 -62
  22. package/lib/components/InputBox.d.ts +83 -83
  23. package/lib/components/Layout.d.ts +146 -146
  24. package/lib/components/ListGroup.d.ts +62 -62
  25. package/lib/components/ListMenu.d.ts +504 -504
  26. package/lib/components/LocationPicker.d.ts +336 -336
  27. package/lib/components/Modal.d.ts +420 -420
  28. package/lib/components/MonthRangePicker.d.ts +924 -924
  29. package/lib/components/NumberInput.d.ts +104 -20
  30. package/lib/components/PopUp.d.ts +672 -672
  31. package/lib/components/Progress.d.ts +440 -20
  32. package/lib/components/Radios.d.ts +167 -167
  33. package/lib/components/Rating.d.ts +272 -314
  34. package/lib/components/ResultBox.d.ts +504 -84
  35. package/lib/components/ResultList.d.ts +336 -84
  36. package/lib/components/SearchBox.d.ts +336 -336
  37. package/lib/components/Select.d.ts +4977 -4977
  38. package/lib/components/Selection.d.ts +504 -504
  39. package/lib/components/SparkLine.d.ts +336 -336
  40. package/lib/components/Spinner.d.ts +146 -146
  41. package/lib/components/Switch.d.ts +83 -83
  42. package/lib/components/TableSelection.d.ts +672 -672
  43. package/lib/components/Tabs.d.ts +83 -20
  44. package/lib/components/TitleBar.d.ts +146 -125
  45. package/lib/components/Toast.d.ts +504 -84
  46. package/lib/components/TooltipWrapper.d.ts +125 -20
  47. package/lib/components/Transfer.d.ts +252 -84
  48. package/lib/components/TransferDropDown.d.ts +252 -84
  49. package/lib/components/Tree.d.ts +2688 -2688
  50. package/lib/components/TreeSelection.d.ts +588 -588
  51. package/lib/components/formula/Editor.d.ts +420 -84
  52. package/lib/index.js +1 -1
  53. package/lib/renderers/Dialog.d.ts +420 -420
  54. package/lib/renderers/Form/InputCity.d.ts +672 -672
  55. package/lib/renderers/Form/InputColor.d.ts +504 -504
  56. package/lib/renderers/Nav.d.ts +62 -62
  57. package/package.json +1 -1
  58. package/sdk/ang-ie11.css +1 -0
  59. package/sdk/ang.css +1 -0
  60. package/sdk/antd-ie11.css +1 -0
  61. package/sdk/antd.css +1 -0
  62. package/sdk/charts.js +14 -14
  63. package/sdk/codemirror.js +7 -7
  64. package/sdk/color-picker.js +65 -65
  65. package/sdk/cropperjs.js +2 -2
  66. package/sdk/cxd-ie11.css +1 -0
  67. package/sdk/cxd.css +1 -0
  68. package/sdk/dark-ie11.css +1 -0
  69. package/sdk/dark.css +1 -0
  70. package/sdk/exceljs.js +1 -1
  71. package/sdk/markdown.js +69 -69
  72. package/sdk/papaparse.js +3 -3
  73. package/sdk/renderers/Form/CityDB.js +1 -1
  74. package/sdk/rest.js +18 -18
  75. package/sdk/rich-text.js +62 -62
  76. package/sdk/sdk-ie11.css +1 -0
  77. package/sdk/sdk.css +1 -0
  78. package/sdk/sdk.js +1318 -1253
  79. package/sdk/thirds/hls.js/hls.js +1 -1
  80. package/sdk/thirds/mpegts.js/mpegts.js +1 -1
  81. package/sdk/tinymce.js +57 -57
@@ -34,49 +34,49 @@ export declare class ListMenu extends React.Component<ListMenuProps> {
34
34
  render(): JSX.Element;
35
35
  }
36
36
  declare const _default: {
37
- new (props: (Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
38
- placeholder: string;
39
- itemRender: (option: Option) => JSX.Element;
40
- getItemProps: (props: {
37
+ new (props: (Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
38
+ placeholder?: string | undefined;
39
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
40
+ getItemProps?: ((props: {
41
41
  item: Option;
42
42
  index: number;
43
- }) => null;
44
- }, never>> & {
43
+ }) => any) | undefined;
44
+ } & {} & {
45
45
  locale?: string | undefined;
46
46
  translate?: ((str: string, ...args: any[]) => string) | undefined;
47
- }, keyof ThemeProps> & import("../theme").ThemeOutterProps) | Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
48
- placeholder: string;
49
- itemRender: (option: Option) => JSX.Element;
50
- getItemProps: (props: {
47
+ }, keyof ThemeProps> & import("../theme").ThemeOutterProps) | Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
48
+ placeholder?: string | undefined;
49
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
50
+ getItemProps?: ((props: {
51
51
  item: Option;
52
52
  index: number;
53
- }) => null;
54
- }, never>> & {
53
+ }) => any) | undefined;
54
+ } & {} & {
55
55
  locale?: string | undefined;
56
56
  translate?: ((str: string, ...args: any[]) => string) | undefined;
57
57
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>): {
58
58
  render(): JSX.Element;
59
59
  context: any;
60
- setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
61
- placeholder: string;
62
- itemRender: (option: Option) => JSX.Element;
63
- getItemProps: (props: {
60
+ setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
61
+ placeholder?: string | undefined;
62
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
63
+ getItemProps?: ((props: {
64
64
  item: Option;
65
65
  index: number;
66
- }) => null;
67
- }, never>> & {
66
+ }) => any) | undefined;
67
+ } & {} & {
68
68
  locale?: string | undefined;
69
69
  translate?: ((str: string, ...args: any[]) => string) | undefined;
70
70
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
71
71
  forceUpdate(callback?: (() => void) | undefined): void;
72
- readonly props: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
73
- placeholder: string;
74
- itemRender: (option: Option) => JSX.Element;
75
- getItemProps: (props: {
72
+ readonly props: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
73
+ placeholder?: string | undefined;
74
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
75
+ getItemProps?: ((props: {
76
76
  item: Option;
77
77
  index: number;
78
- }) => null;
79
- }, never>> & {
78
+ }) => any) | undefined;
79
+ } & {} & {
80
80
  locale?: string | undefined;
81
81
  translate?: ((str: string, ...args: any[]) => string) | undefined;
82
82
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps> & Readonly<{
@@ -87,121 +87,121 @@ declare const _default: {
87
87
  [key: string]: React.ReactInstance;
88
88
  };
89
89
  componentDidMount?(): void;
90
- shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
91
- placeholder: string;
92
- itemRender: (option: Option) => JSX.Element;
93
- getItemProps: (props: {
90
+ shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
91
+ placeholder?: string | undefined;
92
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
93
+ getItemProps?: ((props: {
94
94
  item: Option;
95
95
  index: number;
96
- }) => null;
97
- }, never>> & {
96
+ }) => any) | undefined;
97
+ } & {} & {
98
98
  locale?: string | undefined;
99
99
  translate?: ((str: string, ...args: any[]) => string) | undefined;
100
100
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
101
101
  componentWillUnmount?(): void;
102
102
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
103
- getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
104
- placeholder: string;
105
- itemRender: (option: Option) => JSX.Element;
106
- getItemProps: (props: {
103
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
104
+ placeholder?: string | undefined;
105
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
106
+ getItemProps?: ((props: {
107
107
  item: Option;
108
108
  index: number;
109
- }) => null;
110
- }, never>> & {
109
+ }) => any) | undefined;
110
+ } & {} & {
111
111
  locale?: string | undefined;
112
112
  translate?: ((str: string, ...args: any[]) => string) | undefined;
113
113
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
114
- componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
115
- placeholder: string;
116
- itemRender: (option: Option) => JSX.Element;
117
- getItemProps: (props: {
114
+ componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
115
+ placeholder?: string | undefined;
116
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
117
+ getItemProps?: ((props: {
118
118
  item: Option;
119
119
  index: number;
120
- }) => null;
121
- }, never>> & {
120
+ }) => any) | undefined;
121
+ } & {} & {
122
122
  locale?: string | undefined;
123
123
  translate?: ((str: string, ...args: any[]) => string) | undefined;
124
124
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
125
125
  componentWillMount?(): void;
126
126
  UNSAFE_componentWillMount?(): void;
127
- componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
128
- placeholder: string;
129
- itemRender: (option: Option) => JSX.Element;
130
- getItemProps: (props: {
127
+ componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
128
+ placeholder?: string | undefined;
129
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
130
+ getItemProps?: ((props: {
131
131
  item: Option;
132
132
  index: number;
133
- }) => null;
134
- }, never>> & {
133
+ }) => any) | undefined;
134
+ } & {} & {
135
135
  locale?: string | undefined;
136
136
  translate?: ((str: string, ...args: any[]) => string) | undefined;
137
137
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
138
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
139
- placeholder: string;
140
- itemRender: (option: Option) => JSX.Element;
141
- getItemProps: (props: {
138
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
139
+ placeholder?: string | undefined;
140
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
141
+ getItemProps?: ((props: {
142
142
  item: Option;
143
143
  index: number;
144
- }) => null;
145
- }, never>> & {
144
+ }) => any) | undefined;
145
+ } & {} & {
146
146
  locale?: string | undefined;
147
147
  translate?: ((str: string, ...args: any[]) => string) | undefined;
148
148
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
149
- componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
150
- placeholder: string;
151
- itemRender: (option: Option) => JSX.Element;
152
- getItemProps: (props: {
149
+ componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
150
+ placeholder?: string | undefined;
151
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
152
+ getItemProps?: ((props: {
153
153
  item: Option;
154
154
  index: number;
155
- }) => null;
156
- }, never>> & {
155
+ }) => any) | undefined;
156
+ } & {} & {
157
157
  locale?: string | undefined;
158
158
  translate?: ((str: string, ...args: any[]) => string) | undefined;
159
159
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
160
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
161
- placeholder: string;
162
- itemRender: (option: Option) => JSX.Element;
163
- getItemProps: (props: {
160
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
161
+ placeholder?: string | undefined;
162
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
163
+ getItemProps?: ((props: {
164
164
  item: Option;
165
165
  index: number;
166
- }) => null;
167
- }, never>> & {
166
+ }) => any) | undefined;
167
+ } & {} & {
168
168
  locale?: string | undefined;
169
169
  translate?: ((str: string, ...args: any[]) => string) | undefined;
170
170
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
171
171
  };
172
- new (props: Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
173
- placeholder: string;
174
- itemRender: (option: Option) => JSX.Element;
175
- getItemProps: (props: {
172
+ new (props: Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
173
+ placeholder?: string | undefined;
174
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
175
+ getItemProps?: ((props: {
176
176
  item: Option;
177
177
  index: number;
178
- }) => null;
179
- }, never>> & {
178
+ }) => any) | undefined;
179
+ } & {} & {
180
180
  locale?: string | undefined;
181
181
  translate?: ((str: string, ...args: any[]) => string) | undefined;
182
182
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps, context: any): {
183
183
  render(): JSX.Element;
184
184
  context: any;
185
- setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
186
- placeholder: string;
187
- itemRender: (option: Option) => JSX.Element;
188
- getItemProps: (props: {
185
+ setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
186
+ placeholder?: string | undefined;
187
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
188
+ getItemProps?: ((props: {
189
189
  item: Option;
190
190
  index: number;
191
- }) => null;
192
- }, never>> & {
191
+ }) => any) | undefined;
192
+ } & {} & {
193
193
  locale?: string | undefined;
194
194
  translate?: ((str: string, ...args: any[]) => string) | undefined;
195
195
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
196
196
  forceUpdate(callback?: (() => void) | undefined): void;
197
- readonly props: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
198
- placeholder: string;
199
- itemRender: (option: Option) => JSX.Element;
200
- getItemProps: (props: {
197
+ readonly props: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
198
+ placeholder?: string | undefined;
199
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
200
+ getItemProps?: ((props: {
201
201
  item: Option;
202
202
  index: number;
203
- }) => null;
204
- }, never>> & {
203
+ }) => any) | undefined;
204
+ } & {} & {
205
205
  locale?: string | undefined;
206
206
  translate?: ((str: string, ...args: any[]) => string) | undefined;
207
207
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps> & Readonly<{
@@ -212,84 +212,84 @@ declare const _default: {
212
212
  [key: string]: React.ReactInstance;
213
213
  };
214
214
  componentDidMount?(): void;
215
- shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
216
- placeholder: string;
217
- itemRender: (option: Option) => JSX.Element;
218
- getItemProps: (props: {
215
+ shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
216
+ placeholder?: string | undefined;
217
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
218
+ getItemProps?: ((props: {
219
219
  item: Option;
220
220
  index: number;
221
- }) => null;
222
- }, never>> & {
221
+ }) => any) | undefined;
222
+ } & {} & {
223
223
  locale?: string | undefined;
224
224
  translate?: ((str: string, ...args: any[]) => string) | undefined;
225
225
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
226
226
  componentWillUnmount?(): void;
227
227
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
228
- getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
229
- placeholder: string;
230
- itemRender: (option: Option) => JSX.Element;
231
- getItemProps: (props: {
228
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
229
+ placeholder?: string | undefined;
230
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
231
+ getItemProps?: ((props: {
232
232
  item: Option;
233
233
  index: number;
234
- }) => null;
235
- }, never>> & {
234
+ }) => any) | undefined;
235
+ } & {} & {
236
236
  locale?: string | undefined;
237
237
  translate?: ((str: string, ...args: any[]) => string) | undefined;
238
238
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
239
- componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
240
- placeholder: string;
241
- itemRender: (option: Option) => JSX.Element;
242
- getItemProps: (props: {
239
+ componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
240
+ placeholder?: string | undefined;
241
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
242
+ getItemProps?: ((props: {
243
243
  item: Option;
244
244
  index: number;
245
- }) => null;
246
- }, never>> & {
245
+ }) => any) | undefined;
246
+ } & {} & {
247
247
  locale?: string | undefined;
248
248
  translate?: ((str: string, ...args: any[]) => string) | undefined;
249
249
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
250
250
  componentWillMount?(): void;
251
251
  UNSAFE_componentWillMount?(): void;
252
- componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
253
- placeholder: string;
254
- itemRender: (option: Option) => JSX.Element;
255
- getItemProps: (props: {
252
+ componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
253
+ placeholder?: string | undefined;
254
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
255
+ getItemProps?: ((props: {
256
256
  item: Option;
257
257
  index: number;
258
- }) => null;
259
- }, never>> & {
258
+ }) => any) | undefined;
259
+ } & {} & {
260
260
  locale?: string | undefined;
261
261
  translate?: ((str: string, ...args: any[]) => string) | undefined;
262
262
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
263
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
264
- placeholder: string;
265
- itemRender: (option: Option) => JSX.Element;
266
- getItemProps: (props: {
263
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
264
+ placeholder?: string | undefined;
265
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
266
+ getItemProps?: ((props: {
267
267
  item: Option;
268
268
  index: number;
269
- }) => null;
270
- }, never>> & {
269
+ }) => any) | undefined;
270
+ } & {} & {
271
271
  locale?: string | undefined;
272
272
  translate?: ((str: string, ...args: any[]) => string) | undefined;
273
273
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
274
- componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
275
- placeholder: string;
276
- itemRender: (option: Option) => JSX.Element;
277
- getItemProps: (props: {
274
+ componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
275
+ placeholder?: string | undefined;
276
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
277
+ getItemProps?: ((props: {
278
278
  item: Option;
279
279
  index: number;
280
- }) => null;
281
- }, never>> & {
280
+ }) => any) | undefined;
281
+ } & {} & {
282
282
  locale?: string | undefined;
283
283
  translate?: ((str: string, ...args: any[]) => string) | undefined;
284
284
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
285
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
286
- placeholder: string;
287
- itemRender: (option: Option) => JSX.Element;
288
- getItemProps: (props: {
285
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
286
+ placeholder?: string | undefined;
287
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
288
+ getItemProps?: ((props: {
289
289
  item: Option;
290
290
  index: number;
291
- }) => null;
292
- }, never>> & {
291
+ }) => any) | undefined;
292
+ } & {} & {
293
293
  locale?: string | undefined;
294
294
  translate?: ((str: string, ...args: any[]) => string) | undefined;
295
295
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
@@ -297,49 +297,49 @@ declare const _default: {
297
297
  displayName: string;
298
298
  contextType: React.Context<string>;
299
299
  ComposedComponent: React.ComponentType<{
300
- new (props: (Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
301
- placeholder: string;
302
- itemRender: (option: Option) => JSX.Element;
303
- getItemProps: (props: {
300
+ new (props: (Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
301
+ placeholder?: string | undefined;
302
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
303
+ getItemProps?: ((props: {
304
304
  item: Option;
305
305
  index: number;
306
- }) => null;
307
- }, never>> & {
306
+ }) => any) | undefined;
307
+ } & {} & {
308
308
  locale?: string | undefined;
309
309
  translate?: ((str: string, ...args: any[]) => string) | undefined;
310
- }) | Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
311
- placeholder: string;
312
- itemRender: (option: Option) => JSX.Element;
313
- getItemProps: (props: {
310
+ }) | Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
311
+ placeholder?: string | undefined;
312
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
313
+ getItemProps?: ((props: {
314
314
  item: Option;
315
315
  index: number;
316
- }) => null;
317
- }, never>> & {
316
+ }) => any) | undefined;
317
+ } & {} & {
318
318
  locale?: string | undefined;
319
319
  translate?: ((str: string, ...args: any[]) => string) | undefined;
320
320
  }>): {
321
321
  render(): JSX.Element;
322
322
  context: any;
323
- setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
324
- placeholder: string;
325
- itemRender: (option: Option) => JSX.Element;
326
- getItemProps: (props: {
323
+ setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
324
+ placeholder?: string | undefined;
325
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
326
+ getItemProps?: ((props: {
327
327
  item: Option;
328
328
  index: number;
329
- }) => null;
330
- }, never>> & {
329
+ }) => any) | undefined;
330
+ } & {} & {
331
331
  locale?: string | undefined;
332
332
  translate?: ((str: string, ...args: any[]) => string) | undefined;
333
333
  }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
334
334
  forceUpdate(callback?: (() => void) | undefined): void;
335
- readonly props: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
336
- placeholder: string;
337
- itemRender: (option: Option) => JSX.Element;
338
- getItemProps: (props: {
335
+ readonly props: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
336
+ placeholder?: string | undefined;
337
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
338
+ getItemProps?: ((props: {
339
339
  item: Option;
340
340
  index: number;
341
- }) => null;
342
- }, never>> & {
341
+ }) => any) | undefined;
342
+ } & {} & {
343
343
  locale?: string | undefined;
344
344
  translate?: ((str: string, ...args: any[]) => string) | undefined;
345
345
  }> & Readonly<{
@@ -350,121 +350,121 @@ declare const _default: {
350
350
  [key: string]: React.ReactInstance;
351
351
  };
352
352
  componentDidMount?(): void;
353
- shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
354
- placeholder: string;
355
- itemRender: (option: Option) => JSX.Element;
356
- getItemProps: (props: {
353
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
354
+ placeholder?: string | undefined;
355
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
356
+ getItemProps?: ((props: {
357
357
  item: Option;
358
358
  index: number;
359
- }) => null;
360
- }, never>> & {
359
+ }) => any) | undefined;
360
+ } & {} & {
361
361
  locale?: string | undefined;
362
362
  translate?: ((str: string, ...args: any[]) => string) | undefined;
363
363
  }>, nextState: Readonly<{}>, nextContext: any): boolean;
364
364
  componentWillUnmount?(): void;
365
365
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
366
- getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
367
- placeholder: string;
368
- itemRender: (option: Option) => JSX.Element;
369
- getItemProps: (props: {
366
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
367
+ placeholder?: string | undefined;
368
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
369
+ getItemProps?: ((props: {
370
370
  item: Option;
371
371
  index: number;
372
- }) => null;
373
- }, never>> & {
372
+ }) => any) | undefined;
373
+ } & {} & {
374
374
  locale?: string | undefined;
375
375
  translate?: ((str: string, ...args: any[]) => string) | undefined;
376
376
  }>, prevState: Readonly<{}>): any;
377
- componentDidUpdate?(prevProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
378
- placeholder: string;
379
- itemRender: (option: Option) => JSX.Element;
380
- getItemProps: (props: {
377
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
378
+ placeholder?: string | undefined;
379
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
380
+ getItemProps?: ((props: {
381
381
  item: Option;
382
382
  index: number;
383
- }) => null;
384
- }, never>> & {
383
+ }) => any) | undefined;
384
+ } & {} & {
385
385
  locale?: string | undefined;
386
386
  translate?: ((str: string, ...args: any[]) => string) | undefined;
387
387
  }>, prevState: Readonly<{}>, snapshot?: any): void;
388
388
  componentWillMount?(): void;
389
389
  UNSAFE_componentWillMount?(): void;
390
- componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
391
- placeholder: string;
392
- itemRender: (option: Option) => JSX.Element;
393
- getItemProps: (props: {
390
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
391
+ placeholder?: string | undefined;
392
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
393
+ getItemProps?: ((props: {
394
394
  item: Option;
395
395
  index: number;
396
- }) => null;
397
- }, never>> & {
396
+ }) => any) | undefined;
397
+ } & {} & {
398
398
  locale?: string | undefined;
399
399
  translate?: ((str: string, ...args: any[]) => string) | undefined;
400
400
  }>, nextContext: any): void;
401
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
402
- placeholder: string;
403
- itemRender: (option: Option) => JSX.Element;
404
- getItemProps: (props: {
401
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
402
+ placeholder?: string | undefined;
403
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
404
+ getItemProps?: ((props: {
405
405
  item: Option;
406
406
  index: number;
407
- }) => null;
408
- }, never>> & {
407
+ }) => any) | undefined;
408
+ } & {} & {
409
409
  locale?: string | undefined;
410
410
  translate?: ((str: string, ...args: any[]) => string) | undefined;
411
411
  }>, nextContext: any): void;
412
- componentWillUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
413
- placeholder: string;
414
- itemRender: (option: Option) => JSX.Element;
415
- getItemProps: (props: {
412
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
413
+ placeholder?: string | undefined;
414
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
415
+ getItemProps?: ((props: {
416
416
  item: Option;
417
417
  index: number;
418
- }) => null;
419
- }, never>> & {
418
+ }) => any) | undefined;
419
+ } & {} & {
420
420
  locale?: string | undefined;
421
421
  translate?: ((str: string, ...args: any[]) => string) | undefined;
422
422
  }>, nextState: Readonly<{}>, nextContext: any): void;
423
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
424
- placeholder: string;
425
- itemRender: (option: Option) => JSX.Element;
426
- getItemProps: (props: {
423
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
424
+ placeholder?: string | undefined;
425
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
426
+ getItemProps?: ((props: {
427
427
  item: Option;
428
428
  index: number;
429
- }) => null;
430
- }, never>> & {
429
+ }) => any) | undefined;
430
+ } & {} & {
431
431
  locale?: string | undefined;
432
432
  translate?: ((str: string, ...args: any[]) => string) | undefined;
433
433
  }>, nextState: Readonly<{}>, nextContext: any): void;
434
434
  };
435
- new (props: Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
436
- placeholder: string;
437
- itemRender: (option: Option) => JSX.Element;
438
- getItemProps: (props: {
435
+ new (props: Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
436
+ placeholder?: string | undefined;
437
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
438
+ getItemProps?: ((props: {
439
439
  item: Option;
440
440
  index: number;
441
- }) => null;
442
- }, never>> & {
441
+ }) => any) | undefined;
442
+ } & {} & {
443
443
  locale?: string | undefined;
444
444
  translate?: ((str: string, ...args: any[]) => string) | undefined;
445
445
  }, context: any): {
446
446
  render(): JSX.Element;
447
447
  context: any;
448
- setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
449
- placeholder: string;
450
- itemRender: (option: Option) => JSX.Element;
451
- getItemProps: (props: {
448
+ setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
449
+ placeholder?: string | undefined;
450
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
451
+ getItemProps?: ((props: {
452
452
  item: Option;
453
453
  index: number;
454
- }) => null;
455
- }, never>> & {
454
+ }) => any) | undefined;
455
+ } & {} & {
456
456
  locale?: string | undefined;
457
457
  translate?: ((str: string, ...args: any[]) => string) | undefined;
458
458
  }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
459
459
  forceUpdate(callback?: (() => void) | undefined): void;
460
- readonly props: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
461
- placeholder: string;
462
- itemRender: (option: Option) => JSX.Element;
463
- getItemProps: (props: {
460
+ readonly props: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
461
+ placeholder?: string | undefined;
462
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
463
+ getItemProps?: ((props: {
464
464
  item: Option;
465
465
  index: number;
466
- }) => null;
467
- }, never>> & {
466
+ }) => any) | undefined;
467
+ } & {} & {
468
468
  locale?: string | undefined;
469
469
  translate?: ((str: string, ...args: any[]) => string) | undefined;
470
470
  }> & Readonly<{
@@ -475,84 +475,84 @@ declare const _default: {
475
475
  [key: string]: React.ReactInstance;
476
476
  };
477
477
  componentDidMount?(): void;
478
- shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
479
- placeholder: string;
480
- itemRender: (option: Option) => JSX.Element;
481
- getItemProps: (props: {
478
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
479
+ placeholder?: string | undefined;
480
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
481
+ getItemProps?: ((props: {
482
482
  item: Option;
483
483
  index: number;
484
- }) => null;
485
- }, never>> & {
484
+ }) => any) | undefined;
485
+ } & {} & {
486
486
  locale?: string | undefined;
487
487
  translate?: ((str: string, ...args: any[]) => string) | undefined;
488
488
  }>, nextState: Readonly<{}>, nextContext: any): boolean;
489
489
  componentWillUnmount?(): void;
490
490
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
491
- getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
492
- placeholder: string;
493
- itemRender: (option: Option) => JSX.Element;
494
- getItemProps: (props: {
491
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
492
+ placeholder?: string | undefined;
493
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
494
+ getItemProps?: ((props: {
495
495
  item: Option;
496
496
  index: number;
497
- }) => null;
498
- }, never>> & {
497
+ }) => any) | undefined;
498
+ } & {} & {
499
499
  locale?: string | undefined;
500
500
  translate?: ((str: string, ...args: any[]) => string) | undefined;
501
501
  }>, prevState: Readonly<{}>): any;
502
- componentDidUpdate?(prevProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
503
- placeholder: string;
504
- itemRender: (option: Option) => JSX.Element;
505
- getItemProps: (props: {
502
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
503
+ placeholder?: string | undefined;
504
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
505
+ getItemProps?: ((props: {
506
506
  item: Option;
507
507
  index: number;
508
- }) => null;
509
- }, never>> & {
508
+ }) => any) | undefined;
509
+ } & {} & {
510
510
  locale?: string | undefined;
511
511
  translate?: ((str: string, ...args: any[]) => string) | undefined;
512
512
  }>, prevState: Readonly<{}>, snapshot?: any): void;
513
513
  componentWillMount?(): void;
514
514
  UNSAFE_componentWillMount?(): void;
515
- componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
516
- placeholder: string;
517
- itemRender: (option: Option) => JSX.Element;
518
- getItemProps: (props: {
515
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
516
+ placeholder?: string | undefined;
517
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
518
+ getItemProps?: ((props: {
519
519
  item: Option;
520
520
  index: number;
521
- }) => null;
522
- }, never>> & {
521
+ }) => any) | undefined;
522
+ } & {} & {
523
523
  locale?: string | undefined;
524
524
  translate?: ((str: string, ...args: any[]) => string) | undefined;
525
525
  }>, nextContext: any): void;
526
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
527
- placeholder: string;
528
- itemRender: (option: Option) => JSX.Element;
529
- getItemProps: (props: {
526
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
527
+ placeholder?: string | undefined;
528
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
529
+ getItemProps?: ((props: {
530
530
  item: Option;
531
531
  index: number;
532
- }) => null;
533
- }, never>> & {
532
+ }) => any) | undefined;
533
+ } & {} & {
534
534
  locale?: string | undefined;
535
535
  translate?: ((str: string, ...args: any[]) => string) | undefined;
536
536
  }>, nextContext: any): void;
537
- componentWillUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
538
- placeholder: string;
539
- itemRender: (option: Option) => JSX.Element;
540
- getItemProps: (props: {
537
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
538
+ placeholder?: string | undefined;
539
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
540
+ getItemProps?: ((props: {
541
541
  item: Option;
542
542
  index: number;
543
- }) => null;
544
- }, never>> & {
543
+ }) => any) | undefined;
544
+ } & {} & {
545
545
  locale?: string | undefined;
546
546
  translate?: ((str: string, ...args: any[]) => string) | undefined;
547
547
  }>, nextState: Readonly<{}>, nextContext: any): void;
548
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
549
- placeholder: string;
550
- itemRender: (option: Option) => JSX.Element;
551
- getItemProps: (props: {
548
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
549
+ placeholder?: string | undefined;
550
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
551
+ getItemProps?: ((props: {
552
552
  item: Option;
553
553
  index: number;
554
- }) => null;
555
- }, never>> & {
554
+ }) => any) | undefined;
555
+ } & {} & {
556
556
  locale?: string | undefined;
557
557
  translate?: ((str: string, ...args: any[]) => string) | undefined;
558
558
  }>, nextState: Readonly<{}>, nextContext: any): void;
@@ -564,49 +564,49 @@ declare const _default: {
564
564
  ComposedComponent: typeof ListMenu;
565
565
  }>;
566
566
  } & import("hoist-non-react-statics").NonReactStatics<{
567
- new (props: (Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
568
- placeholder: string;
569
- itemRender: (option: Option) => JSX.Element;
570
- getItemProps: (props: {
567
+ new (props: (Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
568
+ placeholder?: string | undefined;
569
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
570
+ getItemProps?: ((props: {
571
571
  item: Option;
572
572
  index: number;
573
- }) => null;
574
- }, never>> & {
573
+ }) => any) | undefined;
574
+ } & {} & {
575
575
  locale?: string | undefined;
576
576
  translate?: ((str: string, ...args: any[]) => string) | undefined;
577
- }) | Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
578
- placeholder: string;
579
- itemRender: (option: Option) => JSX.Element;
580
- getItemProps: (props: {
577
+ }) | Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
578
+ placeholder?: string | undefined;
579
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
580
+ getItemProps?: ((props: {
581
581
  item: Option;
582
582
  index: number;
583
- }) => null;
584
- }, never>> & {
583
+ }) => any) | undefined;
584
+ } & {} & {
585
585
  locale?: string | undefined;
586
586
  translate?: ((str: string, ...args: any[]) => string) | undefined;
587
587
  }>): {
588
588
  render(): JSX.Element;
589
589
  context: any;
590
- setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
591
- placeholder: string;
592
- itemRender: (option: Option) => JSX.Element;
593
- getItemProps: (props: {
590
+ setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
591
+ placeholder?: string | undefined;
592
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
593
+ getItemProps?: ((props: {
594
594
  item: Option;
595
595
  index: number;
596
- }) => null;
597
- }, never>> & {
596
+ }) => any) | undefined;
597
+ } & {} & {
598
598
  locale?: string | undefined;
599
599
  translate?: ((str: string, ...args: any[]) => string) | undefined;
600
600
  }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
601
601
  forceUpdate(callback?: (() => void) | undefined): void;
602
- readonly props: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
603
- placeholder: string;
604
- itemRender: (option: Option) => JSX.Element;
605
- getItemProps: (props: {
602
+ readonly props: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
603
+ placeholder?: string | undefined;
604
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
605
+ getItemProps?: ((props: {
606
606
  item: Option;
607
607
  index: number;
608
- }) => null;
609
- }, never>> & {
608
+ }) => any) | undefined;
609
+ } & {} & {
610
610
  locale?: string | undefined;
611
611
  translate?: ((str: string, ...args: any[]) => string) | undefined;
612
612
  }> & Readonly<{
@@ -617,121 +617,121 @@ declare const _default: {
617
617
  [key: string]: React.ReactInstance;
618
618
  };
619
619
  componentDidMount?(): void;
620
- shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
621
- placeholder: string;
622
- itemRender: (option: Option) => JSX.Element;
623
- getItemProps: (props: {
620
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
621
+ placeholder?: string | undefined;
622
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
623
+ getItemProps?: ((props: {
624
624
  item: Option;
625
625
  index: number;
626
- }) => null;
627
- }, never>> & {
626
+ }) => any) | undefined;
627
+ } & {} & {
628
628
  locale?: string | undefined;
629
629
  translate?: ((str: string, ...args: any[]) => string) | undefined;
630
630
  }>, nextState: Readonly<{}>, nextContext: any): boolean;
631
631
  componentWillUnmount?(): void;
632
632
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
633
- getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
634
- placeholder: string;
635
- itemRender: (option: Option) => JSX.Element;
636
- getItemProps: (props: {
633
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
634
+ placeholder?: string | undefined;
635
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
636
+ getItemProps?: ((props: {
637
637
  item: Option;
638
638
  index: number;
639
- }) => null;
640
- }, never>> & {
639
+ }) => any) | undefined;
640
+ } & {} & {
641
641
  locale?: string | undefined;
642
642
  translate?: ((str: string, ...args: any[]) => string) | undefined;
643
643
  }>, prevState: Readonly<{}>): any;
644
- componentDidUpdate?(prevProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
645
- placeholder: string;
646
- itemRender: (option: Option) => JSX.Element;
647
- getItemProps: (props: {
644
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
645
+ placeholder?: string | undefined;
646
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
647
+ getItemProps?: ((props: {
648
648
  item: Option;
649
649
  index: number;
650
- }) => null;
651
- }, never>> & {
650
+ }) => any) | undefined;
651
+ } & {} & {
652
652
  locale?: string | undefined;
653
653
  translate?: ((str: string, ...args: any[]) => string) | undefined;
654
654
  }>, prevState: Readonly<{}>, snapshot?: any): void;
655
655
  componentWillMount?(): void;
656
656
  UNSAFE_componentWillMount?(): void;
657
- componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
658
- placeholder: string;
659
- itemRender: (option: Option) => JSX.Element;
660
- getItemProps: (props: {
657
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
658
+ placeholder?: string | undefined;
659
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
660
+ getItemProps?: ((props: {
661
661
  item: Option;
662
662
  index: number;
663
- }) => null;
664
- }, never>> & {
663
+ }) => any) | undefined;
664
+ } & {} & {
665
665
  locale?: string | undefined;
666
666
  translate?: ((str: string, ...args: any[]) => string) | undefined;
667
667
  }>, nextContext: any): void;
668
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
669
- placeholder: string;
670
- itemRender: (option: Option) => JSX.Element;
671
- getItemProps: (props: {
668
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
669
+ placeholder?: string | undefined;
670
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
671
+ getItemProps?: ((props: {
672
672
  item: Option;
673
673
  index: number;
674
- }) => null;
675
- }, never>> & {
674
+ }) => any) | undefined;
675
+ } & {} & {
676
676
  locale?: string | undefined;
677
677
  translate?: ((str: string, ...args: any[]) => string) | undefined;
678
678
  }>, nextContext: any): void;
679
- componentWillUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
680
- placeholder: string;
681
- itemRender: (option: Option) => JSX.Element;
682
- getItemProps: (props: {
679
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
680
+ placeholder?: string | undefined;
681
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
682
+ getItemProps?: ((props: {
683
683
  item: Option;
684
684
  index: number;
685
- }) => null;
686
- }, never>> & {
685
+ }) => any) | undefined;
686
+ } & {} & {
687
687
  locale?: string | undefined;
688
688
  translate?: ((str: string, ...args: any[]) => string) | undefined;
689
689
  }>, nextState: Readonly<{}>, nextContext: any): void;
690
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
691
- placeholder: string;
692
- itemRender: (option: Option) => JSX.Element;
693
- getItemProps: (props: {
690
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
691
+ placeholder?: string | undefined;
692
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
693
+ getItemProps?: ((props: {
694
694
  item: Option;
695
695
  index: number;
696
- }) => null;
697
- }, never>> & {
696
+ }) => any) | undefined;
697
+ } & {} & {
698
698
  locale?: string | undefined;
699
699
  translate?: ((str: string, ...args: any[]) => string) | undefined;
700
700
  }>, nextState: Readonly<{}>, nextContext: any): void;
701
701
  };
702
- new (props: Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
703
- placeholder: string;
704
- itemRender: (option: Option) => JSX.Element;
705
- getItemProps: (props: {
702
+ new (props: Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
703
+ placeholder?: string | undefined;
704
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
705
+ getItemProps?: ((props: {
706
706
  item: Option;
707
707
  index: number;
708
- }) => null;
709
- }, never>> & {
708
+ }) => any) | undefined;
709
+ } & {} & {
710
710
  locale?: string | undefined;
711
711
  translate?: ((str: string, ...args: any[]) => string) | undefined;
712
712
  }, context: any): {
713
713
  render(): JSX.Element;
714
714
  context: any;
715
- setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
716
- placeholder: string;
717
- itemRender: (option: Option) => JSX.Element;
718
- getItemProps: (props: {
715
+ setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
716
+ placeholder?: string | undefined;
717
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
718
+ getItemProps?: ((props: {
719
719
  item: Option;
720
720
  index: number;
721
- }) => null;
722
- }, never>> & {
721
+ }) => any) | undefined;
722
+ } & {} & {
723
723
  locale?: string | undefined;
724
724
  translate?: ((str: string, ...args: any[]) => string) | undefined;
725
725
  }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
726
726
  forceUpdate(callback?: (() => void) | undefined): void;
727
- readonly props: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
728
- placeholder: string;
729
- itemRender: (option: Option) => JSX.Element;
730
- getItemProps: (props: {
727
+ readonly props: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
728
+ placeholder?: string | undefined;
729
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
730
+ getItemProps?: ((props: {
731
731
  item: Option;
732
732
  index: number;
733
- }) => null;
734
- }, never>> & {
733
+ }) => any) | undefined;
734
+ } & {} & {
735
735
  locale?: string | undefined;
736
736
  translate?: ((str: string, ...args: any[]) => string) | undefined;
737
737
  }> & Readonly<{
@@ -742,84 +742,84 @@ declare const _default: {
742
742
  [key: string]: React.ReactInstance;
743
743
  };
744
744
  componentDidMount?(): void;
745
- shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
746
- placeholder: string;
747
- itemRender: (option: Option) => JSX.Element;
748
- getItemProps: (props: {
745
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
746
+ placeholder?: string | undefined;
747
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
748
+ getItemProps?: ((props: {
749
749
  item: Option;
750
750
  index: number;
751
- }) => null;
752
- }, never>> & {
751
+ }) => any) | undefined;
752
+ } & {} & {
753
753
  locale?: string | undefined;
754
754
  translate?: ((str: string, ...args: any[]) => string) | undefined;
755
755
  }>, nextState: Readonly<{}>, nextContext: any): boolean;
756
756
  componentWillUnmount?(): void;
757
757
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
758
- getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
759
- placeholder: string;
760
- itemRender: (option: Option) => JSX.Element;
761
- getItemProps: (props: {
758
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
759
+ placeholder?: string | undefined;
760
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
761
+ getItemProps?: ((props: {
762
762
  item: Option;
763
763
  index: number;
764
- }) => null;
765
- }, never>> & {
764
+ }) => any) | undefined;
765
+ } & {} & {
766
766
  locale?: string | undefined;
767
767
  translate?: ((str: string, ...args: any[]) => string) | undefined;
768
768
  }>, prevState: Readonly<{}>): any;
769
- componentDidUpdate?(prevProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
770
- placeholder: string;
771
- itemRender: (option: Option) => JSX.Element;
772
- getItemProps: (props: {
769
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
770
+ placeholder?: string | undefined;
771
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
772
+ getItemProps?: ((props: {
773
773
  item: Option;
774
774
  index: number;
775
- }) => null;
776
- }, never>> & {
775
+ }) => any) | undefined;
776
+ } & {} & {
777
777
  locale?: string | undefined;
778
778
  translate?: ((str: string, ...args: any[]) => string) | undefined;
779
779
  }>, prevState: Readonly<{}>, snapshot?: any): void;
780
780
  componentWillMount?(): void;
781
781
  UNSAFE_componentWillMount?(): void;
782
- componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
783
- placeholder: string;
784
- itemRender: (option: Option) => JSX.Element;
785
- getItemProps: (props: {
782
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
783
+ placeholder?: string | undefined;
784
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
785
+ getItemProps?: ((props: {
786
786
  item: Option;
787
787
  index: number;
788
- }) => null;
789
- }, never>> & {
788
+ }) => any) | undefined;
789
+ } & {} & {
790
790
  locale?: string | undefined;
791
791
  translate?: ((str: string, ...args: any[]) => string) | undefined;
792
792
  }>, nextContext: any): void;
793
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
794
- placeholder: string;
795
- itemRender: (option: Option) => JSX.Element;
796
- getItemProps: (props: {
793
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
794
+ placeholder?: string | undefined;
795
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
796
+ getItemProps?: ((props: {
797
797
  item: Option;
798
798
  index: number;
799
- }) => null;
800
- }, never>> & {
799
+ }) => any) | undefined;
800
+ } & {} & {
801
801
  locale?: string | undefined;
802
802
  translate?: ((str: string, ...args: any[]) => string) | undefined;
803
803
  }>, nextContext: any): void;
804
- componentWillUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
805
- placeholder: string;
806
- itemRender: (option: Option) => JSX.Element;
807
- getItemProps: (props: {
804
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
805
+ placeholder?: string | undefined;
806
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
807
+ getItemProps?: ((props: {
808
808
  item: Option;
809
809
  index: number;
810
- }) => null;
811
- }, never>> & {
810
+ }) => any) | undefined;
811
+ } & {} & {
812
812
  locale?: string | undefined;
813
813
  translate?: ((str: string, ...args: any[]) => string) | undefined;
814
814
  }>, nextState: Readonly<{}>, nextContext: any): void;
815
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
816
- placeholder: string;
817
- itemRender: (option: Option) => JSX.Element;
818
- getItemProps: (props: {
815
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
816
+ placeholder?: string | undefined;
817
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
818
+ getItemProps?: ((props: {
819
819
  item: Option;
820
820
  index: number;
821
- }) => null;
822
- }, never>> & {
821
+ }) => any) | undefined;
822
+ } & {} & {
823
823
  locale?: string | undefined;
824
824
  translate?: ((str: string, ...args: any[]) => string) | undefined;
825
825
  }>, nextState: Readonly<{}>, nextContext: any): void;
@@ -831,49 +831,49 @@ declare const _default: {
831
831
  ComposedComponent: typeof ListMenu;
832
832
  }, {}> & {
833
833
  ComposedComponent: {
834
- new (props: (Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
835
- placeholder: string;
836
- itemRender: (option: Option) => JSX.Element;
837
- getItemProps: (props: {
834
+ new (props: (Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
835
+ placeholder?: string | undefined;
836
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
837
+ getItemProps?: ((props: {
838
838
  item: Option;
839
839
  index: number;
840
- }) => null;
841
- }, never>> & {
840
+ }) => any) | undefined;
841
+ } & {} & {
842
842
  locale?: string | undefined;
843
843
  translate?: ((str: string, ...args: any[]) => string) | undefined;
844
- }) | Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
845
- placeholder: string;
846
- itemRender: (option: Option) => JSX.Element;
847
- getItemProps: (props: {
844
+ }) | Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
845
+ placeholder?: string | undefined;
846
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
847
+ getItemProps?: ((props: {
848
848
  item: Option;
849
849
  index: number;
850
- }) => null;
851
- }, never>> & {
850
+ }) => any) | undefined;
851
+ } & {} & {
852
852
  locale?: string | undefined;
853
853
  translate?: ((str: string, ...args: any[]) => string) | undefined;
854
854
  }>): {
855
855
  render(): JSX.Element;
856
856
  context: any;
857
- setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
858
- placeholder: string;
859
- itemRender: (option: Option) => JSX.Element;
860
- getItemProps: (props: {
857
+ setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
858
+ placeholder?: string | undefined;
859
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
860
+ getItemProps?: ((props: {
861
861
  item: Option;
862
862
  index: number;
863
- }) => null;
864
- }, never>> & {
863
+ }) => any) | undefined;
864
+ } & {} & {
865
865
  locale?: string | undefined;
866
866
  translate?: ((str: string, ...args: any[]) => string) | undefined;
867
867
  }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
868
868
  forceUpdate(callback?: (() => void) | undefined): void;
869
- readonly props: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
870
- placeholder: string;
871
- itemRender: (option: Option) => JSX.Element;
872
- getItemProps: (props: {
869
+ readonly props: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
870
+ placeholder?: string | undefined;
871
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
872
+ getItemProps?: ((props: {
873
873
  item: Option;
874
874
  index: number;
875
- }) => null;
876
- }, never>> & {
875
+ }) => any) | undefined;
876
+ } & {} & {
877
877
  locale?: string | undefined;
878
878
  translate?: ((str: string, ...args: any[]) => string) | undefined;
879
879
  }> & Readonly<{
@@ -884,121 +884,121 @@ declare const _default: {
884
884
  [key: string]: React.ReactInstance;
885
885
  };
886
886
  componentDidMount?(): void;
887
- shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
888
- placeholder: string;
889
- itemRender: (option: Option) => JSX.Element;
890
- getItemProps: (props: {
887
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
888
+ placeholder?: string | undefined;
889
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
890
+ getItemProps?: ((props: {
891
891
  item: Option;
892
892
  index: number;
893
- }) => null;
894
- }, never>> & {
893
+ }) => any) | undefined;
894
+ } & {} & {
895
895
  locale?: string | undefined;
896
896
  translate?: ((str: string, ...args: any[]) => string) | undefined;
897
897
  }>, nextState: Readonly<{}>, nextContext: any): boolean;
898
898
  componentWillUnmount?(): void;
899
899
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
900
- getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
901
- placeholder: string;
902
- itemRender: (option: Option) => JSX.Element;
903
- getItemProps: (props: {
900
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
901
+ placeholder?: string | undefined;
902
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
903
+ getItemProps?: ((props: {
904
904
  item: Option;
905
905
  index: number;
906
- }) => null;
907
- }, never>> & {
906
+ }) => any) | undefined;
907
+ } & {} & {
908
908
  locale?: string | undefined;
909
909
  translate?: ((str: string, ...args: any[]) => string) | undefined;
910
910
  }>, prevState: Readonly<{}>): any;
911
- componentDidUpdate?(prevProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
912
- placeholder: string;
913
- itemRender: (option: Option) => JSX.Element;
914
- getItemProps: (props: {
911
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
912
+ placeholder?: string | undefined;
913
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
914
+ getItemProps?: ((props: {
915
915
  item: Option;
916
916
  index: number;
917
- }) => null;
918
- }, never>> & {
917
+ }) => any) | undefined;
918
+ } & {} & {
919
919
  locale?: string | undefined;
920
920
  translate?: ((str: string, ...args: any[]) => string) | undefined;
921
921
  }>, prevState: Readonly<{}>, snapshot?: any): void;
922
922
  componentWillMount?(): void;
923
923
  UNSAFE_componentWillMount?(): void;
924
- componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
925
- placeholder: string;
926
- itemRender: (option: Option) => JSX.Element;
927
- getItemProps: (props: {
924
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
925
+ placeholder?: string | undefined;
926
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
927
+ getItemProps?: ((props: {
928
928
  item: Option;
929
929
  index: number;
930
- }) => null;
931
- }, never>> & {
930
+ }) => any) | undefined;
931
+ } & {} & {
932
932
  locale?: string | undefined;
933
933
  translate?: ((str: string, ...args: any[]) => string) | undefined;
934
934
  }>, nextContext: any): void;
935
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
936
- placeholder: string;
937
- itemRender: (option: Option) => JSX.Element;
938
- getItemProps: (props: {
935
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
936
+ placeholder?: string | undefined;
937
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
938
+ getItemProps?: ((props: {
939
939
  item: Option;
940
940
  index: number;
941
- }) => null;
942
- }, never>> & {
941
+ }) => any) | undefined;
942
+ } & {} & {
943
943
  locale?: string | undefined;
944
944
  translate?: ((str: string, ...args: any[]) => string) | undefined;
945
945
  }>, nextContext: any): void;
946
- componentWillUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
947
- placeholder: string;
948
- itemRender: (option: Option) => JSX.Element;
949
- getItemProps: (props: {
946
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
947
+ placeholder?: string | undefined;
948
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
949
+ getItemProps?: ((props: {
950
950
  item: Option;
951
951
  index: number;
952
- }) => null;
953
- }, never>> & {
952
+ }) => any) | undefined;
953
+ } & {} & {
954
954
  locale?: string | undefined;
955
955
  translate?: ((str: string, ...args: any[]) => string) | undefined;
956
956
  }>, nextState: Readonly<{}>, nextContext: any): void;
957
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
958
- placeholder: string;
959
- itemRender: (option: Option) => JSX.Element;
960
- getItemProps: (props: {
957
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
958
+ placeholder?: string | undefined;
959
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
960
+ getItemProps?: ((props: {
961
961
  item: Option;
962
962
  index: number;
963
- }) => null;
964
- }, never>> & {
963
+ }) => any) | undefined;
964
+ } & {} & {
965
965
  locale?: string | undefined;
966
966
  translate?: ((str: string, ...args: any[]) => string) | undefined;
967
967
  }>, nextState: Readonly<{}>, nextContext: any): void;
968
968
  };
969
- new (props: Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
970
- placeholder: string;
971
- itemRender: (option: Option) => JSX.Element;
972
- getItemProps: (props: {
969
+ new (props: Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
970
+ placeholder?: string | undefined;
971
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
972
+ getItemProps?: ((props: {
973
973
  item: Option;
974
974
  index: number;
975
- }) => null;
976
- }, never>> & {
975
+ }) => any) | undefined;
976
+ } & {} & {
977
977
  locale?: string | undefined;
978
978
  translate?: ((str: string, ...args: any[]) => string) | undefined;
979
979
  }, context: any): {
980
980
  render(): JSX.Element;
981
981
  context: any;
982
- setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
983
- placeholder: string;
984
- itemRender: (option: Option) => JSX.Element;
985
- getItemProps: (props: {
982
+ setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
983
+ placeholder?: string | undefined;
984
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
985
+ getItemProps?: ((props: {
986
986
  item: Option;
987
987
  index: number;
988
- }) => null;
989
- }, never>> & {
988
+ }) => any) | undefined;
989
+ } & {} & {
990
990
  locale?: string | undefined;
991
991
  translate?: ((str: string, ...args: any[]) => string) | undefined;
992
992
  }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
993
993
  forceUpdate(callback?: (() => void) | undefined): void;
994
- readonly props: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
995
- placeholder: string;
996
- itemRender: (option: Option) => JSX.Element;
997
- getItemProps: (props: {
994
+ readonly props: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
995
+ placeholder?: string | undefined;
996
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
997
+ getItemProps?: ((props: {
998
998
  item: Option;
999
999
  index: number;
1000
- }) => null;
1001
- }, never>> & {
1000
+ }) => any) | undefined;
1001
+ } & {} & {
1002
1002
  locale?: string | undefined;
1003
1003
  translate?: ((str: string, ...args: any[]) => string) | undefined;
1004
1004
  }> & Readonly<{
@@ -1009,84 +1009,84 @@ declare const _default: {
1009
1009
  [key: string]: React.ReactInstance;
1010
1010
  };
1011
1011
  componentDidMount?(): void;
1012
- shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
1013
- placeholder: string;
1014
- itemRender: (option: Option) => JSX.Element;
1015
- getItemProps: (props: {
1012
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
1013
+ placeholder?: string | undefined;
1014
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
1015
+ getItemProps?: ((props: {
1016
1016
  item: Option;
1017
1017
  index: number;
1018
- }) => null;
1019
- }, never>> & {
1018
+ }) => any) | undefined;
1019
+ } & {} & {
1020
1020
  locale?: string | undefined;
1021
1021
  translate?: ((str: string, ...args: any[]) => string) | undefined;
1022
1022
  }>, nextState: Readonly<{}>, nextContext: any): boolean;
1023
1023
  componentWillUnmount?(): void;
1024
1024
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
1025
- getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
1026
- placeholder: string;
1027
- itemRender: (option: Option) => JSX.Element;
1028
- getItemProps: (props: {
1025
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
1026
+ placeholder?: string | undefined;
1027
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
1028
+ getItemProps?: ((props: {
1029
1029
  item: Option;
1030
1030
  index: number;
1031
- }) => null;
1032
- }, never>> & {
1031
+ }) => any) | undefined;
1032
+ } & {} & {
1033
1033
  locale?: string | undefined;
1034
1034
  translate?: ((str: string, ...args: any[]) => string) | undefined;
1035
1035
  }>, prevState: Readonly<{}>): any;
1036
- componentDidUpdate?(prevProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
1037
- placeholder: string;
1038
- itemRender: (option: Option) => JSX.Element;
1039
- getItemProps: (props: {
1036
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
1037
+ placeholder?: string | undefined;
1038
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
1039
+ getItemProps?: ((props: {
1040
1040
  item: Option;
1041
1041
  index: number;
1042
- }) => null;
1043
- }, never>> & {
1042
+ }) => any) | undefined;
1043
+ } & {} & {
1044
1044
  locale?: string | undefined;
1045
1045
  translate?: ((str: string, ...args: any[]) => string) | undefined;
1046
1046
  }>, prevState: Readonly<{}>, snapshot?: any): void;
1047
1047
  componentWillMount?(): void;
1048
1048
  UNSAFE_componentWillMount?(): void;
1049
- componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
1050
- placeholder: string;
1051
- itemRender: (option: Option) => JSX.Element;
1052
- getItemProps: (props: {
1049
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
1050
+ placeholder?: string | undefined;
1051
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
1052
+ getItemProps?: ((props: {
1053
1053
  item: Option;
1054
1054
  index: number;
1055
- }) => null;
1056
- }, never>> & {
1055
+ }) => any) | undefined;
1056
+ } & {} & {
1057
1057
  locale?: string | undefined;
1058
1058
  translate?: ((str: string, ...args: any[]) => string) | undefined;
1059
1059
  }>, nextContext: any): void;
1060
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
1061
- placeholder: string;
1062
- itemRender: (option: Option) => JSX.Element;
1063
- getItemProps: (props: {
1060
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
1061
+ placeholder?: string | undefined;
1062
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
1063
+ getItemProps?: ((props: {
1064
1064
  item: Option;
1065
1065
  index: number;
1066
- }) => null;
1067
- }, never>> & {
1066
+ }) => any) | undefined;
1067
+ } & {} & {
1068
1068
  locale?: string | undefined;
1069
1069
  translate?: ((str: string, ...args: any[]) => string) | undefined;
1070
1070
  }>, nextContext: any): void;
1071
- componentWillUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
1072
- placeholder: string;
1073
- itemRender: (option: Option) => JSX.Element;
1074
- getItemProps: (props: {
1071
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
1072
+ placeholder?: string | undefined;
1073
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
1074
+ getItemProps?: ((props: {
1075
1075
  item: Option;
1076
1076
  index: number;
1077
- }) => null;
1078
- }, never>> & {
1077
+ }) => any) | undefined;
1078
+ } & {} & {
1079
1079
  locale?: string | undefined;
1080
1080
  translate?: ((str: string, ...args: any[]) => string) | undefined;
1081
1081
  }>, nextState: Readonly<{}>, nextContext: any): void;
1082
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
1083
- placeholder: string;
1084
- itemRender: (option: Option) => JSX.Element;
1085
- getItemProps: (props: {
1082
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
1083
+ placeholder?: string | undefined;
1084
+ itemRender?: ((option: Option) => JSX.Element) | undefined;
1085
+ getItemProps?: ((props: {
1086
1086
  item: Option;
1087
1087
  index: number;
1088
- }) => null;
1089
- }, never>> & {
1088
+ }) => any) | undefined;
1089
+ } & {} & {
1090
1090
  locale?: string | undefined;
1091
1091
  translate?: ((str: string, ...args: any[]) => string) | undefined;
1092
1092
  }>, nextState: Readonly<{}>, nextContext: any): void;