Socket
Socket
Sign inDemoInstall

@kichiyaki/react-native-barcode-generator

Package Overview
Dependencies
527
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kichiyaki/react-native-barcode-generator

![Screenshot](/images/example.png?raw=true)


Version published
Maintainers
1
Weekly downloads
7,011
decreased by-33.28%

Weekly downloads

Readme

Source

@kichiyaki/react-native-barcode-generator

Screenshot

A React-Native component for generating barcodes.

Installation

Using npm:

npm install --save react-native-svg @kichiyaki/react-native-barcode-generator

or using yarn:

yarn add react-native-svg @kichiyaki/react-native-barcode-generator

Properties

PropTypeDescription
valuestringthe text to be encoded
widthnumberthe width of a single bar
maxWidthnumberthe max width of the barcode
heightnumberthe height of the barcode
formatstringselect which barcode type to use
lineColorstringset the color of a single bar
backgroundstringset the color of the container
textcomponentan optional text that will be render under the barcode
textStyleobjectstyles to be applied on the text component
styleobjectstyles to be applied on the container
onErrorfunctionan optional error handler

Supported formats

Only flat versions are available for now.

  • CODE39
  • CODE128
  • CODE128A
  • CODE128B
  • CODE128C
  • EAN13
  • EAN8
  • EAN5
  • EAN2
  • UPC
  • UPCE
  • ITF14
  • ITF
  • MSI
  • MSI10
  • MSI11
  • MSI1010
  • MSI1110
  • pharmacode
  • codabar

Keywords

FAQs

Last updated on 18 Jan 2021

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