Socket
Socket
Sign inDemoInstall

react-qr-image

Package Overview
Dependencies
4
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    react-qr-image

A React component for a QR image generated from text


Version published
Weekly downloads
214
decreased by-13.01%
Maintainers
1
Created
Weekly downloads
 

Readme

Source
Preview of QR codes generated

react-qr-image

package version package downloads standard-readme compliant package license make a pull request

A React component for a QR image generated from text.

📖 Table of Contents

⚙️ Install

Install the package locally within you project folder with your package manager:

With npm:

npm install react-qr-image

With yarn:

yarn add react-qr-image

With pnpm:

pnpm add react-qr-image

📖 Usage

import React from "react";
import ReactDOM from "react-dom";

import QRImage from "react-qr-image";

function App() {
  return (
    <>
      <QRImage text="hello" />
      <QRImage text="hello" color="red" />
      <QRImage text="hello" color="white" background="#111" />
      <QRImage>hello</QRImage>
    </>
  );
}

const rootElement = document.getElementById("root");
ReactDOM.render(<App />, rootElement);

Edit wispy-haze-cvm06

📚 API

For all configuration options, please see the API docs.

💬 Contributing

Got an idea for a new feature? Found a bug? Contributions are welcome! Please open up an issue or make a pull request.

🪪 License

MIT © Tiaan du Plessis

Keywords

FAQs

Last updated on 17 May 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc