Socket
Socket
Sign inDemoInstall

taro-qrcode

Package Overview
Dependencies
11
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    taro-qrcode

qrcode for taro


Version published
Maintainers
1
Created

Readme

Source

taro-svga

Supporting platforms

weapp h5 tt swan alipay qq rn

Installing

yarn add taro-svga

Extra Installing For React Native

Based on react-native-qrcode-svg

android

react-native link react-native-qrcode-svg

OR auto link

Go to your ios folder and run:

pod install

Basic Usage

import QrCode from "taro-qrcode";

const App = () => {
  return <QrCode codeText="123" />;
};

Component API

Based on taro-qrcode

PropDescriptionDefaultPlatform
codeTextQR code contentall
colorQR code color#000all
backgroundColorQR code background color#fffall
sizeQR code size200all
logoSizeLogo size60all
callbackCallback function for generating QR codesall

Keywords

FAQs

Last updated on 13 Dec 2023

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