Socket
Socket
Sign inDemoInstall

react-qr-code

Package Overview
Dependencies
22
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    react-qr-code

A <QRCode /> component for React.


Version published
Maintainers
1
Created

Readme

Source

react-qr-code

npm package Dependency Status devDependency Status

Library for generation of harmonious color themes. Include react components for picking colors.

Installation

Using npm:

npm install --save react-qr-code

The Gist

import React from 'react';
import ReactDOM from 'react-dom';
import { ColorPickerComponent, Color, HarmonyTypes } from 'react-qr-code';

const selectedScheme = HarmonyTypes.TRIAD;

function onColorChangedCallback(selectedColor) {
  const fullScheme = selectedColor.fullScheme(selectedScheme);
}

ReactDOM.render(
  <ColorPickerComponent
    height={50}
    onColorChangedCallback={onColorChangedCallback}
  />,
  document.getElementById('Container')
);

Examples

  • Main (source)

Web site

http://opensource-cards.github.io/react-qr-code

License

MIT

Keywords

FAQs

Last updated on 28 Jul 2016

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