Have ideas to improve npm?Join in the discussion! »

    react-qr-code
    TypeScript icon, indicating that this package has built-in type declarations

    1.1.1 • Public • Published

    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

    Install

    npm i react-qr-code

    DownloadsWeekly Downloads

    17,749

    Version

    1.1.1

    License

    MIT

    Unpacked Size

    14.2 kB

    Total Files

    9

    Last publish

    Collaborators

    • avatar