anchengjian / react-qr-code

A QR code generator for React and React Native.

Home Page:https://rosskhanas.github.io/react-qr-code/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

react-qr-code

npm package Dependency Status devDependency Status peerDependency Status

A component for React. This library works with React and React Native (uses ART module).

Screenshots

Web

Android & iOS

iOS

Installation

yarn add react-qr-code

The Gist

import React from "react";
import ReactDOM from "react-dom";
import QRCode from "react-qr-code";

ReactDOM.render(<QRCode value="hey" />, document.getElementById("Container"));

API

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

License

MIT

About

A QR code generator for React and React Native.

https://rosskhanas.github.io/react-qr-code/

License:MIT License


Languages

Language:JavaScript 27.1%Language:Java 25.4%Language:Ruby 21.7%Language:Objective-C 18.0%Language:Starlark 7.8%