ReactJs Qrcode generator library

reactjs-qrcode-generator

reactjs-qrcode-generator is a clean and simple QRcode generator library for reactJS.

Install

npm install --save reactjs-qrcode-generator

Usage

import React, { Component } from 'react'

import {ReactQrcode} from 'reactjs-qrcode-generator'

class Example extends Component {
  render() {
    return <ReactQrcode qrvalue={qrvalue} size={size} level={1} />
  }
}

Parameters

Attribute Type Default Description
level Number 1 QR ECC level (1, 2, 3, 4)
qrvalue String This is Qrcode Your String
size Number 200 (Width/Height value)

Ecc level description

Level Description
1 low
2 medium
3 quartile
4 high

License

MIT © naimmalek

23