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
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:
npm run ios
Running on Android
npm run android
Subscribe to React Native Example for Android and iOS
Get the latest posts delivered right to your inbox