@wayke-se/pannellum-react
v1.0.0
Published
Repository for @wayke-se/pannellum-react.
Downloads
730
Keywords
Readme
Wayke Pannellum React
Repository for @wayke-se/pannellum-react.
Based on farminf's panellum-react which implements Matthew Petroff's viewer
Getting started
Using npm
npm install @wayke-se/pannellum-react
import '@wayke-se/pannellum-react/dist/index.css';
import Pannellum from '@wayke-se/pannellum-react';
...
return (
<Pannellum
id="react-pannellum"
panorama="./assets/360.jpg"
style={{
width: '2000px',
height: '1000px',
}}
/>
)
Try it out by cloning the repo
npm i
npm start
Open http://localhost:5000