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 2a1dc2f commit 2563e6fCopy full SHA for 2563e6f
2 files changed
src/Select.tsx
@@ -62,10 +62,9 @@ const RefSelect = generateSelector<SelectOptionsType>({
62
fillOptionsWithMissingValue,
63
});
64
65
-export type SelectProps<ValueType extends DefaultValueType = DefaultValueType> = SelectProps<
66
- SelectOptionsType,
67
- ValueType
68
->;
+export type ExportedSelectProps<
+ ValueType extends DefaultValueType = DefaultValueType
+> = SelectProps<SelectOptionsType, ValueType>;
69
70
/**
71
* Typescript not support generic with function component,
src/index.ts
@@ -1,4 +1,4 @@
1
-import Select, { SelectProps } from './Select';
+import Select, { ExportedSelectProps as SelectProps } from './Select';
2
import { RefSelectProps } from './generate';
3
import Option from './Option';
4
import OptGroup from './OptGroup';
0 commit comments