hc-oss / react-multi-select-component

Lightweight (~5KB gzipped) multiple selection dropdown component
https://codesandbox.io/s/react-multi-select-example-uqtgs
MIT License
386 stars 89 forks source link

does anyone have import issue for 4.1.5? #467

Closed bruceoh-rtm closed 3 years ago

bruceoh-rtm commented 3 years ago

I am having import issue with typescript.

wondering if anyone is having same problem.

import {MultiSelect} from "react-multi-select-component"; Cannot find module 'react-multi-select-component' or its corresponding type declarations.

harshzalavadiya commented 3 years ago

@bruceoh-rtm I was able to isolate issue, due to move from tsdx to microbundle TS typings reference was missing and so production build w/ CRA + TS was failing

update to v4.1.7+ to fix this issue

closing this for now, feel free to re-open if you are still having issues

harshzalavadiya commented 3 years ago

reopening this there's some wierd bug w/ microbundle

harshzalavadiya commented 3 years ago

fixed in v4.1.8