Skip to content
This repository was archived by the owner on Jan 9, 2024. It is now read-only.

Repository files navigation

qrcode.react

A React component to generate QR codes.

Installation

npm install qrcode.react

Usage

varReact=require('react');varQRCode=require('qrcode.react');React.render(<QRCodevalue="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'

LICENSE ISC

About

A <QRCode/> component for use with React.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages