Inspired by https://github.com/scaleflex/js-cloudimage-360-view
Images credit: https://www.cloudimage.io/
yarn add @hauvo/react-native-360-image-viewer
or
npm install @hauvo/react-native-360-image-viewer --save
Please file an issue if you have any trouble!
See https://github.com/phuochau/react-native-360-image-viewer/blob/master/example/App.js
option | Info |
---|---|
srcset | Array of images. The image index should follow the ascending rotation. If you provide more images, the animation will be smoother. |
width | Width of image |
height | height of image |
MIT