Socket
Socket
Sign inDemoInstall

react-qrcode-logo

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-qrcode-logo - npm Package Compare versions

Comparing version 2.5.0 to 2.6.0

0

CHANGELOG.md

@@ -0,0 +0,0 @@ # Changelog

1

dist/index.d.ts

@@ -22,2 +22,3 @@ import * as React from 'react';

style?: object;
id?: string;
}

@@ -24,0 +25,0 @@ export declare class QRCode extends React.Component<IProps, {}> {

3

dist/index.js

@@ -214,5 +214,6 @@ "use strict";

QRCode.prototype.render = function () {
var _a;
var size = +this.props.size + (2 * +this.props.quietZone);
return React.createElement('canvas', {
id: 'react-qrcode-logo',
id: (_a = this.props.id) !== null && _a !== void 0 ? _a : 'react-qrcode-logo',
height: size,

@@ -219,0 +220,0 @@ width: size,

{
"name": "react-qrcode-logo",
"version": "2.5.0",
"version": "2.6.0",
"description": "React component to generate a QR Code customizable with logo and more properties",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -43,2 +43,3 @@ # react-qrcode-logo

| `eyeRadius` | `number` &#124; `number[]` &#124; `number[][]` | | The corner radius for the positional patterns (the three "eyes" around the QR code). See more details below |
| `id` | `string` | `react-qrcode-logo` | Optional custom id for the QRCode canvas. You can use this prop if you have multiple QRCodes and need to differentiate them |

@@ -45,0 +46,0 @@ ### About eyeRadius

@@ -0,0 +0,0 @@ {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc