A pure JavaScript image gallery component for React Native apps with touch gestures support such as pan, pinch, and doubleTap, supporting both iOS and Android.
This component aims to be (one of) the best image viewer for react-native apps. Comparing with other gallery alike components, this one should be more elegant in following aspects: (mimics iOS system photo album app).
- Gesture handle: besides common pan, pinch and doubleTap, this component does well in targeting foucs point( or pivot) when zoom-in and zoom-out.
- Responder switch: the gesture responder switch is more flexible than any other component, that is, the scrollable container and the wrapped image children perform well in acquiring and releasing gesture responder from/to each other.
Installation:
# Yarn $ yarn add react-native-image-gallery # NPM $ npm install react-native-image-gallery --save
Preview:
Download Details:
Author: archriss
Live Demo: View The Demo
Download Link: Download The Source Code
Official Website: https://github.com/archriss/react-native-image-gallery
License: MIT