Have ideas to improve npm?Join in the discussion! »

    react-tridi-wrapper
    TypeScript icon, indicating that this package has built-in type declarations

    0.0.1 • Public • Published

    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.

    Install

    npm i react-tridi-wrapper

    DownloadsWeekly Downloads

    3

    Version

    0.0.1

    License

    MIT

    Unpacked Size

    7.75 kB

    Total Files

    7

    Last publish

    Collaborators

    • avatar