Open getnative opened 6 years ago
你解决吗?我也遇到这样的问题了
this plugin had out date ,react 16.x not support React.PropTypes ,changed it to import "PropTypes" from "prop-types"
@dongqizhen it seems not working ! I have already import PropTypes ,but still this problem
听说是:这个组建已经过期了,很多api已经更新了,如果想继续用,那就等作者更新最新版本,rn项目中PropType的问题。等不了的朋友可以换 react native swiper
I have a similar problem
"react": "16.2.0", "react-native": "0.54.2", macOS:10.13.4 Xcode:9
my code: var dataSourceBanners = new ViewPager.DataSource({ pageHasChanged: (p1, p2) => p1 !== p2, });
error message: TypeError:undefined is not an object(evaluating 'new _reactNativeViewpage2.default.DataSoure')