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

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


Version published
Weekly downloads
64K
decreased by-12.05%
Maintainers
1
Weekly downloads
 
Created
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

Package last updated on 02 Aug 2018

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc