【文件属性】:
文件名称:react-qrcode-logo:React + Typescript组件生成带有自定义颜色和徽标的QR码
文件大小:130KB
文件格式:ZIP
更新时间:2021-04-01 17:17:34
TypeScript
react-qrcode-徽标
Typescript React组件以生成可定制的QR代码。
安装
npm install --save react-qrcode-logo
用法
import * as React from 'react' ;
import { QRCode } from 'react-qrcode-logo' ;
React . render (
< QRCode xss=removed> ,
mountNode
) ;
道具
Struts
类型
默认值
描述
value
string
https://reactjs.org/
QR码中编码的值。 二维码解码后,将返回该值
ecLevel
L | M | Q | H
M
QR码的纠错级别
enableCORS
b
【文件预览】:
react-qrcode-logo-master
----res()
--------qrcode-android.png(12KB)
--------qrcode-react.png(24KB)
--------qrcode-miku.png(86KB)
----package.json(1KB)
----LICENSE(1KB)
----dist()
--------index.js(7KB)
--------index.d.ts(1012B)
----tsconfig.json(501B)
----.gitignore(997B)
----CHANGELOG.md(1KB)
----lib()
--------index.tsx(7KB)
----README.md(4KB)
----yarn.lock(5KB)