ccarellice-react-native-barcode-generator
v0.0.4
Published
A package for generating a barcode on react native, compatible with Expo
Readme
React Native Barcode Generator
A package for generating a barcode on react native (based on jsbarcode), compatible with Expo.
Installation
Use the package manager npm to install ccarellice-react-native-barcode-generator.
npm install ccarellice-react-native-barcode-generatorYou have to install jsbarcode too.
npm install jsbarcodeUsage
import Barcode component in your project
import Barcode from "ccarellice-react-native-barcode-generator/Barcode";<Barcode value="9501101530003" options={{ format: 'EAN13', background: 'yellow' }}/>The component inherits the options from JsBarcode
Result

Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
It's my first npm package, please give me feedbacks! Thank you very much!
