Displaying multiple images in fullscreen mode that you can swipe through.
npm install react-native-image-viewerDisplaying multiple images in fullscreen mode that you can swipe through.
```
npm install react-native-image-viewer --save
1. Swipeable images in fullscreen mode
2. Pinch to zoom
You should provide those props to the Component:
1. modalVisibility {Boolean} - decide whether to show the modalcloseModal
2. {Function} - close modalnavigationState
3. {Object} - its' used with NavigationExperimental.
You navigationState will looke like this:
``
{
index: 0,
routes: [
{
key: '1',
url: 'https://example.com/image.png',
size: 1000
}
]
}
size`, it's used to define how large you can zoom the image.
You should specify width of the image by
Check the example repository.
!react-native-image-viewer screenshot
use standardjs.
[ ] add test