Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

taro-code-creator

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

taro-code-creator

Code for taro,Supports generating barcodes and QR codes

  • 1.0.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
decreased by-80.95%
Maintainers
1
Weekly downloads
 
Created
Source

taro-code-creator

Supports generating barcodes and QR codes

Supporting platforms

weapp h5 tt swan alipay qq rn

Installing

yarn add taro-code-creator

Basic Usage

import CodeCreator from "taro-code-creator";

const App = () => {
  return (
    <>
      <CodeCreator
        codeText="test"
        size={420}
        logo={defaultHeadSculpture}
        logoSize={88}
      />
      <CodeCreator type="bar" width={400} height={100} codeText="test" />
    </>
  );
};

img

Component API

Based on taro-code-creator

PropDescriptionDefaulttype
typecode typeqrall
codeTextQR code contentall
colorQR code color#000all
backgroundColorQR code background color#fffall
sizeQR code size200qr
logologo url``qr
logoSizeLogo size60qr
callbackCallback function for generating QR codesall
widthbarcode widthbar
heightbarcode heightbar
formatbarcode formatbar

Keywords

FAQs

Package last updated on 14 Dec 2023

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