-
Notifications
You must be signed in to change notification settings - Fork 94
PropTypes.bool #50
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
Comments
@RDMCharts |
same problem
package Version :
its maybe, proptype implementation |
@RDMCharts try to change on both files by var PropTypes = require('prop-types'); |
Changing the problematic statements resulted to a new error: |
Hey, figured out a fix. Do as above suggests, and additionally change every line of
to
React.createClass() has been deprecated for a while now, I guess. Replacing it to just extend the React.Component class got me past this error. Hope it works for you too. Edit: This being said, the upkeep on this repo is pretty dead. We may want to switch to https://github.com/ptomasroos/react-native-multi-slider , who seems to be updating more regularly |
Hi guys,
I have been trying to get the multislider to work with my React Native project. However whenever I try to import the multislider I receive an error message, Undefined is not an object (evaluating 'PropTypes.bool') it only shows up when I have used: import MultiSlider from 'react-native-mulit-slider'; at the top of my project.
Any advice of what I am doing wrong would be amazing!
Thanks
The text was updated successfully, but these errors were encountered: