Closed skkohli closed 6 years ago
@skkohli I think it is likely just a problem with your import statement.
import ReactSuperSelect from 'react-super-select';
rather than import { ReactSuperSelect }
ReactSuperSelect is the only export of the package. Please let me know if that solves your issue
Yes, That was a mistake. Thanks for the amazing component @alsoscotland
@skkohli no worries. Glad it is working!
I might be doing something wrong here. I used npm install in the project created by react cli. When i include the library import {ReactSuperSelect} from 'react-super-select/lib/react-super-select'; i errors that Element type is invalid: I also dont see any examples in the github repo to run it