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

    2.0.2 • Public • Published

    qrcanvas-react

    NPM License Downloads

    This a QRCode component for use with ReactJS, based on qrcanvas.

    Installation

    $ yarn add qrcanvas-react

    Usage

    import { QRCanvas } from 'qrcanvas-react';
    import ReactDOM from 'react-dom';
     
    const options = { data: 'hello, world' };
    ReactDOM.render(<QRCanvas options={options} />, document.getElementById('app'));

    options is passed to qrcanvas. For more details, see qrcanvas docs.

    See more examples.

    Install

    npm i qrcanvas-react

    DownloadsWeekly Downloads

    8

    Version

    2.0.2

    License

    ISC

    Unpacked Size

    10.5 kB

    Total Files

    9

    Last publish

    Collaborators

    • gera2ld