0.0.1 • Published 4 years ago

react-tridi-wrapper v0.0.1

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

react-tridi-wrapper

npm (latest) Build status codecov

React component for embedding 360-degree 3D image viewers with Tridi.

Note that this is a thin wrapper for an original library and it may not offer all available functionality. For a fully fledged React component check out react-tridi by Tuan Pham.

Install

npm install --save react-tridi-wrapper

Usage

Example:

import Tridi from 'react-tridi-wrapper';

function App() {
  const options = {
    element: '.tridi-basic',
    location: '/images/white',
    format: 'jpg',
    count: 36,
  };

  return (
    <div className="App">
      <Tridi options={options} />
    </div>
  );
}

Contributions

Contributions of any kind are welcome.

You can contribute to react-tridi-wrapper by:

  • submiting bug reports or feature suggestions
  • improving documentation
  • submitting pull requests

Before contributing be sure to read Contributing Guidelines and Code of Conduct.

Contributors

To all who contribute code, improve documentation, submit issues or feature requests - thank you for making react-tridi-wrapper even better!

We maintain an AUTHORS file where we keep a list of all project contributors. Please consider adding your name there with your next PR.

License

Code is available under MIT license. See LICENSE for more information.