bobomanywb / qrcode.react

A <QRCode/> component for use with React.

Home Page:http://zpao.github.io/qrcode.react/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

qrcode.react

A React component to generate QR codes.

Installation

npm install qrcode.react

Usage

var React = require('react');
var QRCode = require('qrcode.react');

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

Available Props

prop type default value
value string
size number 128
bgColor string (CSS color) "#FFFFFF"
fgColor string (CSS color) "#000000"
level string ('L' 'M' 'Q' 'H') 'L'

LICENSE ISC

About

A <QRCode/> component for use with React.

http://zpao.github.io/qrcode.react/

License:ISC License


Languages

Language:JavaScript 92.0%Language:Makefile 8.0%