react-native-gallery
react-native-gallery copied to clipboard
A pure JavaScript image gallery component for react-native apps with common gestures like pan, pinch and doubleTap, supporting both iOS and Android.
 the component ` `
放大不在缩小回去
放大不在缩小回去怎么操作
Also work with all react versions prior to 16.
React Native 0.50 is the first version to ship with support for React 16.0.0. https://reactjs.org/blog/2017/09/26/react-v16.0.html PropTypes are missing in React object. Can you import it from `prop-types`?
PropTypes = undefined This is my package.json file "dependencies": { "react": "16.0.0-beta.5", "react-native": "0.49.3", "react-native-gallery": "^0.0.17", "react-native-git-upgrade": "^0.2.7", "react-native-maps": "^0.17.0", "react-native-open-settings": "^1.0.1", "react-native-photo-view": "^1.5.2", "react-native-share": "^1.0.23", "react-native-swiper": "^1.5.13", "react-native-vector-icons": "^4.4.2",...
React extracted `PropTypes` to separate module. This PR upgrades to make use of that.
As proposed in issue #41 =)