react 生成二维码 qrcode.react

NPM:

# npm install qrcode.react
import React from 'react';
import QRCode from 'qrcode.react'
React.render(
  ,
  mountNode
);
prop type
value string
renderAs string (‘canvas’ ‘svg’)
size number
bgColor string (CSS color)
fgColor string (CSS color)
level string (‘L’ ‘M’ ‘Q’ ‘H’)
includeMargin boolean

原文:https://www.npmjs.com/package/qrcode.react#available-props

你可能感兴趣的:(qrcode,react,二维码)