reactjs-qrcode-generator
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

reactjs-qrcode-generator

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

NPM JavaScript Style Guide

Install

npm install --save reactjs-qrcode-generator

Demo https://naimmalek.github.io/reactjs-qrcode-generator-demo/

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

Package Sidebar

Install

npm i reactjs-qrcode-generator

Weekly Downloads

10

Version

1.0.3

License

MIT

Unpacked Size

179 kB

Total Files

10

Last publish

Collaborators

  • naimmalek