File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 11/* eslint-disable @typescript-eslint/no-unused-vars */
22import type { SystemStyleObject } from "@chakra-ui/system" ;
33import type { GroupBase , StylesConfig , ThemeConfig } from "react-select" ;
4-
5- /**
6- * This is necessary for the module `react-select/base` to be seen by TypeScript.
7- * Without it the module augmentation will not work properly.
8- *
9- * @see {@link https://github.com/JedWatson/react-select/pull/5762#issuecomment-1765467219 }
10- */
11- import type { Props } from "react-select/base" ;
124import type {
135 ChakraStylesConfig ,
146 ColorScheme ,
@@ -18,6 +10,15 @@ import type {
1810 Variant ,
1911} from "./types" ;
2012
13+ /**
14+ * This is necessary for the module `react-select/base` to be seen by TypeScript.
15+ * Without it the module augmentation will not work properly.
16+ *
17+ * @see {@link https://github.com/JedWatson/react-select/pull/5762#issuecomment-1765467219 }
18+ * @see {@link https://github.com/JedWatson/react-select/pull/5762#issuecomment-1766814503 }
19+ */
20+ export type { Props as ReactSelectBaseProps } from "react-select/base" ;
21+
2122/**
2223 * Module augmentation is used to add extra props to the existing interfaces
2324 * from `react-select` as per the docs
@@ -324,7 +325,6 @@ export type {
324325
325326// Forward all available exports from the original `react-select` package
326327export * from "react-select" ;
327- export type { Props } ;
328328export { useAsync } from "react-select/async" ;
329329export { useCreatable } from "react-select/creatable" ;
330330export type { AsyncProps } from "react-select/async" ;
You can’t perform that action at this time.
0 commit comments