hzl123456 / react-native-rk-pull-to-refresh

a pull to refresh component for react-native, same api on both android and ios
98 stars 15 forks source link

undefined is not an object (evaluating '_react2.PropTypes.bool') #8

Open HMY314 opened 6 years ago

HMY314 commented 6 years ago

我的版本: "react": "16.3.1", "react-native": "0.55.2", 1、引入你的包,报错 image

问题原因是: https://github.com/poooi/poi/issues/1427 2、然后我把你的项目copy出来,将PropTypes 重新引入,又报错: Invariant Violation: Native component for "RCTRefreshHeader" does not exist

image

刚接触RN,不知如何解决。 可以出个支持PropTypes新的导入方式的版本吗,谢谢!