@wayke-se/pannellum-react
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @wayke-se/pannellum-react

Weekly Downloads

411

Version

1.0.0

License

ISC

Unpacked Size

635 kB

Total Files

14

Last publish

Collaborators

  • ourdylan
  • ourjonatan
  • ourbjorn
  • oscar-ourstudio
  • ourpeter
  • alexerlandsson