1.1.2 • Published 3 months ago

@pixorize/pixorize-quetzalcoatl-react v1.1.2

Weekly downloads
14
License
MIT
Repository
bitbucket
Last release
3 months ago

Build specifications

Built using node 21.6.0 Built using npm 10.2.4

Pixorize Quetzalcoatl React

A React wrapper component for the @pixorize/pixorize-quetzalcoatl library.

Instalation

npm install @pixorize/pixorize-quetzalcoatl-react

or

yarn add @pixorize/pixorize-quetzalcoatl-react

Usage

import React from 'react';
import PixorizeQuetzalcoatlReact from '@pixorize/pixorize-quetzalcoatl-react';

const data = '../path/to/data';
const imageUrl = 'https://via.placeholder.com/1280x720';

const InteractiveImage = () => {
  render(
    <div className="my-class-name">
      <PixorizeQuetzalcoatlReact
        data={data}
        imageUrl={imageUrl}
      />
    </<div>
  );
};

export default InteractiveImage;

Documentation

Props

data: JSON The interactive image JSON data. See @pixorize/pixorize-quetzalcoatl docs for more details.

imageUrl: string The image URL.


License

License: MIT

1.1.1

3 months ago

1.1.0

3 months ago

1.1.2

3 months ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago