Open MinhMinh8722 opened 6 years ago
The version of the code that is posted on npm is dated and doesn't work with later versions of RN. You can install the latest committed code that fixes the issue with npm i github:fixt/react-native-page-swiper#b19964571c7b690c66362d92c1239054fc0546db --save
Please import the PropTypes module. it has been moved to an external package so in order to use PropTypes you'll need to import the package.
sudo npm install prop-types --save
And then reference the package like this
import PropTypes from 'prop-types';
Note : Please remove the outdated package usage. While adding dependencies please make sure that package version is support by the react latest version.
I copied your example into App.js and had an error.![screen shot 2017-11-15 at 09 39 19](https://user-images.githubusercontent.com/33676764/32815918-e546939a-c9e8-11e7-820d-2f0b603e8ac1.png)
Please help me!!!
And this is my code: