Socket
Socket
Sign inDemoInstall

react-qrcode-logo

Package Overview
Dependencies
2
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    react-qrcode-logo

React component to generate a QR Code customizable with logo and more properties


Version published
Weekly downloads
56K
increased by2.57%
Maintainers
1
Install size
97.3 kB
Created
Weekly downloads
 

Changelog

Source

[v1.0.0]

  • First version.

Readme

Source

Typescript React component to generate a customizable QR Code. Based on cssivision/qrcode-react.

Installation

npm install --save react-qrcode-logo

Usage

import * as React from 'react';
import { QRCode } from 'react-qrcode-logo';

React.render(
  <QRCode value="https://github.com/gcoro/react-qrcode-logo" />,
  mountNode
);

Avaiable Props

PropTypeDefault value
valuestringhttps://reactjs.org/
sizenumber (in pixels)150
paddingnumber (in pixels)10
bgColorstring (css color)#FFFFFF
fgColorstring (css color)#000000
logoImagestring (src attribute)
logoWidthnumber (in pixels)
logoHeightnumber (in pixels)
logoOpacitynumber (css opacity 0 < x < 1)1
styleObject (add any css style properties)

Keywords

FAQs

Last updated on 01 Aug 2018

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