Skip to content

Commit

Permalink
Update react-photo-sphere-viewer version and add little planet button
Browse files Browse the repository at this point in the history
  • Loading branch information
Elius94 committed Jan 18, 2024
1 parent a9bfa0b commit 84d2496
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 54 deletions.
108 changes: 54 additions & 54 deletions example/generic/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions example/generic/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ function App() {
ref={photoSphereRef}
src="Test_pano.jpg"
littlePlanet={true}
lang={{
littlePlanetButton: "Little Planet",
}}
hideNavbarButton={true}
height={'100vh'}
width={"100%"}
onClick={handleClick}
Expand Down

0 comments on commit 84d2496

Please sign in to comment.