An open API service indexing awesome lists of open source software.

https://github.com/chaimpaneth/react-native-image-lightbox-zoom-pan

Complete Image Viewer with featuring lightbox, zoom & pan capabilities and swipe down to close.
https://github.com/chaimpaneth/react-native-image-lightbox-zoom-pan

Last synced: 9 months ago
JSON representation

Complete Image Viewer with featuring lightbox, zoom & pan capabilities and swipe down to close.

Awesome Lists containing this project

README

          

# react-native-image-lightbox-zoom-pan

This gist makes us of `react-native-image-pan-zoom` && `react-native-lightbox` to create the perfect image viewer.

Click on image will open LightBox modal once open will allow zooming and panning and swipe down to close.

### Install

`npm install react-native-image-lightbox-zoom-pan --save`

### Example

```
import Lightbox from 'react-native-image-lightbox-zoom-pan';

```

### Available props

```
{
navigator,
source,
width = Dimensions.get("window").width,
height = 300,
swipeDownThreshold = 20,
enableSwipeDown = true,
lightBoxProps = {}, // All available props from react-native-lightbox
imageZoomProps = {}, // All available props from react-native-image-pan-zoom
}
```