react360imgthree
v2.1.6
Published
A 360 view image gallery react component.
Downloads
11
Maintainers
Readme
react360imgthree
A 360 view image gallery react component.
Install
npm install --save react360imgthree
npm install --save three
Usage
import React, { Component } from 'react'
import View360Three from 'react360imgthree'
class Example extends Component {
render () {
return (
<View360Three
image="//l3apq3bncl82o596k2d1ydn1-wpengine.netdna-ssl.com/wp-content/uploads/2016/09/360-redull-storytelling-vr.png"
autoRotate="true"
width="480"
height="270"
/>
)
}
}
Demo
Live demo is available on https://dvnlt.csb.app/
License
MIT © ashishkummar