1.0.0 • Published 4 years ago

@hauvo/react-native-360-image-viewer v1.0.0

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

react-native-360-image-viewer

Inspired by https://github.com/scaleflex/js-cloudimage-360-view

Sample

Images credit: https://www.cloudimage.io/

Installation

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!

Usage

See https://github.com/phuochau/react-native-360-image-viewer/blob/master/example/App.js

Properties

optionInfo
srcsetArray of images. The image index should follow the ascending rotation. If you provide more images, the animation will be smoother.
widthWidth of image
heightheight of image

License

MIT