1.0.1 • Published 5 months ago

taro-qrcode v1.0.1

Weekly downloads
-
License
LIC
Repository
github
Last release
5 months ago

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