Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/phuochau/react-native-360-image-viewer

Inspired by https://github.com/scaleflex/js-cloudimage-360-view. This is the 360 degrees simulation from multiple images for React Native
https://github.com/phuochau/react-native-360-image-viewer

Last synced: 3 months ago
JSON representation

Inspired by https://github.com/scaleflex/js-cloudimage-360-view. This is the 360 degrees simulation from multiple images for React Native

Awesome Lists containing this project

README

        

react-native-360-image-viewer
===

Inspired by [https://github.com/scaleflex/js-cloudimage-360-view](https://github.com/scaleflex/js-cloudimage-360-view)

![Sample](example/example.gif)

Images credit: [https://www.cloudimage.io/](https://www.cloudimage.io/)

## Installation

```bash
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](https://github.com/phuochau/react-native-360-image-viewer/blob/master/example/App.js)

## Properties
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

## License

MIT