You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@kichiyaki/react-native-barcode-generator

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kichiyaki/react-native-barcode-generator

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

0.6.7
latest
Source
npmnpm
Version published
Weekly downloads
12K
4.68%
Maintainers
1
Weekly downloads
 
Created
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

react-native

FAQs

Package last updated on 18 Jan 2021

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