React component to generate QRCode with logo
npm install react.qrcodeA React component to generate QRCode with logo.
Compatible with react 16
``sh`
npm install react.qrcode
`js
var React = require('react');
var ReactDOM = require('react-dom');
var QRCode = require('qrcode-react');
ReactDOM.render(
mountNode
);
`
prop | type | default value
-------------|----------------------|-----------------------------------
value | string | http://facebook.github.io/react/size | number | 128bgColor | string (CSS color) | "#FFFFFF"fgColor | string (CSS color) | "#000000"logo | string (URL / PATH)|logoWidth | number | size * 0.2logoHeight | number | Proportional scaling to logoWidth`
