Reanimated 2 powered Gallery implementation
Currently, I'm refactoring Pager and Lightbox components in order to enable galleries without lightbox as well as an ability to change some of params of both pager and lightbox
The library will have few options:
- StandaloneGallery - ability to show pager with images as a new screen. Without lightbox transition.
- Gallery - regular list of photos with transition to and from pager.
- Lightbox - single photo with/without transform abilities.
- ImageTransformer - standalone component with abilities to transform image (pinch to zoom, pan).
The source code for the example (showcase) app is under the
Example/ directory. Clone the repo, go to the Example/ folder and run:
Running on iOS
Before running the app, install the cocoapods dependencies:
cd ios && pod install && cd ..
Now, you can start the app:
Running on Android
Run the react native's cli command:
Important: You will need to have an Android or iOS device or emulator connected as well as react-native-cli package installed globally.