Socket
Socket
Sign inDemoInstall

react-native-barcode-creator

Package Overview
Dependencies
514
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    react-native-barcode-creator

Component to generate QRCode, Code128, PDF417 or AZTEC natively for react native.


Version published
Maintainers
1
Created

Readme

Source

react-native-barcode-creator

Component to generate QRCode, Code128, PDF417 or AZTEC natively for react native.

Installation

npm install react-native-barcode-creator

Go to your ios folder and run:

pod install

Usage

import BarcodeCreatorViewManager, { BarcodeFormat } from 'react-native-barcode-creator';

 <BarcodeCreatorViewManager
        value={"100"}
        background={"#000000"}
        foregroundColor={"#FFFFFF"}
        format={BarcodeFormat.QR}
        style={styles.box} />
        

Props

PropDescriptionDefault
valueMandatory - The content to add to the Barcode.None
styleStyle attributes for the view, as expected in a standard View.None
formatMandatory The format to show in the Barcode, it can be QR, AZTEC, PDF417, CODE128.BarcodeFormat.QR
backgroundThe Background Color of the Barcode.white
foregroundColorThe foreground color to use on the Barcode.black

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT

Keywords

FAQs

Last updated on 21 Aug 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