0.0.15 • Published 5 years ago
react-native-barcode-svg v0.0.15
react-native-barcode-svg
React Native component to generate barcode, without display text/value.
Uses JsBarcode for encoding of data.
Uses @react-native-community/react-native-svg instead of @react-native-community/art.
Getting started
Step 1
Install react-native-barcode-svg
and dependencies:
npm install react-native-barcode-svg react-native-svg
yarn add react-native-barcode-svg react-native-svg
Step 2
Start using the component
import Barcode from 'react-native-barcode-svg';
<Barcode value="Hello World" format="CODE128" />;
Supported formats:
You can find more info about the supported barcode formats (EG.: CODE128, EAN13, EAN8, UPC, ITF, ...) in the:
JsBarcode README
JsBarcode Barcode Generator