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

Comparing version 0.0.1-rc.1 to 0.0.1-rc.2

2

package.json
{
"name": "react-qr-code",
"version": "0.0.1-rc.1",
"version": "0.0.1-rc.2",
"description": "A <QRCode /> component for React.",

@@ -5,0 +5,0 @@ "keywords": [

@@ -20,18 +20,8 @@ # react-qr-code

```javascript
import React from 'react';
import ReactDOM from 'react-dom';
import { ColorPickerComponent, Color, HarmonyTypes } from 'react-qr-code';
var React = require('react');
var QRCode = require('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')
React.render(
<QRCode value="http://facebook.github.io/react/" />,
mountNode
);

@@ -38,0 +28,0 @@ ```

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