We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Needs to be imported via as the third party component prop-types. import PropTypes from 'prop-types' Please update.
prop-types
import PropTypes from 'prop-types'
The text was updated successfully, but these errors were encountered:
I faced the same problem here. How can I fix the problem?
Sorry, something went wrong.
I was able to fix it. Here's what I did.
I forked the project and opened up the src files.
In each source file, whenever PropTypes was used, I changed how PropTypes was imported.
Before: import { PropTypes } from 'react'
Now: import PropTypes from 'prop-types';
The package uses the dist files in our project, so to update the dist files, do this in your fork. npm install npm run build.
Then push the changes to your fork on Github, and require your github repo instead of this repo in your project.
In package.json, add the line "react-native-chart": "github:{YOUR_USERNAME}/react-native-chart",
Added prop-types dependency and updated src files to use PropTypes fr…
95294ea
…om "prop-types" (Issue tomauty#182)
No branches or pull requests
Needs to be imported via as the third party component
prop-types
.import PropTypes from 'prop-types'
Please update.The text was updated successfully, but these errors were encountered: