Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid type when using default import #96

Open
wasong opened this issue Feb 28, 2018 · 0 comments
Open

Invalid type when using default import #96

wasong opened this issue Feb 28, 2018 · 0 comments

Comments

@wasong
Copy link

wasong commented Feb 28, 2018

On version "^3.0.0-rc.3", using import Measure from 'react-measure' as indicated in the example gives me React.createElement invalid type error.

My solution was to use it as a named import. import { Measure } from 'react-measure'.

I'm not sure if this is a bug or just needs an update in the README!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant