0.1.0 • Published 8 years ago
jsqrgen-react v0.1.0
jsqrgen-react
This a QRCode component for use with ReactJS, based on jsqrgen.
Install
$ npm i jsqrgen-react
Usage
import QRCanvas from 'jsqrgen-react';
import ReactDOM from 'react-dom';
// Qrcanvas is a component with only one props: `options`
ReactDOM.render(<QRCanvas options={options} />, document.getElementById('app'));
options
is passed to jsqrgen.
For more details, see jsqrgen docs.
0.1.0
8 years ago