PropTypes are no longer in core React Native components , like Animation. So, you have to update your dependencies, like react-native-material-dropdown
and its dependencies.
I have begun this process, but have only published to my forks on github. You could modify your package.json
file to something like this:
"dependencies": {
...
"react-native-material-dropdown": "https://github.com/boorad/react-native-material-dropdown",
...
}
Warning: it's not a permanent solution. Ideally, you would want all three repos to have artifacts published to NPM.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.