0.7.3 • Published 7 years ago

react-qr-component v0.7.3

Weekly downloads
12
License
ISC
Repository
github
Last release
7 years ago

qrcode.react

A React component to generate QR codes. forked from zpao/qrcode.react

Installation

npm i -S https://github.com/nicholaspsmith/qrcode.react

Usage

import React from 'react'
import QRCode from 'react-qr-component'

React.render(
  <QRCode value="http://facebook.github.io/react/" />,
  mountNode
);

Available Props

proptypedefault value
valuestring
sizenumber128
bgColorstring (CSS color)"#FFFFFF"
fgColorstring (CSS color)"#000000"
levelstring ('L' 'M' 'Q' 'H')'L'
classNamestring

LICENSE ISC