We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b662f1c commit c831cb7Copy full SHA for c831cb7
src/Select.tsx
@@ -72,9 +72,9 @@ export type SelectProps<ValueType extends DefaultValueType = DefaultValueType> =
72
* we have to wrap an class component to handle this.
73
*/
74
class Select<VT> extends React.Component<SelectProps<SelectOptionsType, VT>> {
75
- static Option = Option;
+ static Option: typeof Option = Option;
76
77
- static OptGroup = OptGroup;
+ static OptGroup: typeof OptGroup = OptGroup;
78
79
selectRef = React.createRef<RefSelectProps>();
80
0 commit comments