react生成二维码的插件

插件: qrcode.react

用法:

1. 安装

$ npm install qrcode.react --save

2. 使用:


import QRCode from 'qrcode.react';

React.render(

  <QRCode value="http://facebook.github.io/react/" />,

  mountNode

);

属性及用法:

《react生成二维码的插件》

    原文作者:猪九咩
    原文地址: https://segmentfault.com/a/1190000018943970
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞