-
Thanks for creating this component. However, the types shipped with the component reuse the Chakra props of Select, rather than the different props that react-select use (for example, |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Facing the same issue.. |
Beta Was this translation helpful? Give feedback.
-
For the most part I'm trying to expand the types offered by react-select, check these files:
However I'm unfortunately very new to typescript so there's a fair chance I didn't export these right. If you have any recommendations to improve it, please let me know |
Beta Was this translation helpful? Give feedback.
-
Working fine for me: https://codesandbox.io/s/chakra-react-select-ts-test-z131f?file=/src/App.tsx |
Beta Was this translation helpful? Give feedback.
-
You're right @Patrascu-Lucian - the issue seemed to be related to a type conflict between react-select and chakra-react-select. Upgrading everything to latest seems to have resolved it. Thanks all. |
Beta Was this translation helpful? Give feedback.
You're right @Patrascu-Lucian - the issue seemed to be related to a type conflict between react-select and chakra-react-select. Upgrading everything to latest seems to have resolved it. Thanks all.