react-native-image-fit
ImageViewer component for RN
Installation
$ npm install --save react-native-image-fit
or
$ yarn add react-native-image-fit
Usage
; const App = <ImageViewer disabled=false // by default source= // or { url: 'https://...' } doubleTapEnabled=true // by default double tap will zoom image onMove= null onPress= console mainImageStyle=stylessomeStyle zoomedImageStyle=styleszoomedImageStyle mainImageProps= resizeMode: 'contain' zoomedImageProps= resizeMode: 'contain' />