react-native-pdf417
React-Native library which allows you to generate a barcode in pdf417 format
Android pdf417 writer is based on zxing library https://github.com/zxing/zxing
Screenshots
Installation
npm install @reeq/react-native-pdf417
or
yarn add @reeq/react-native-pdf417
and
cd ios/
pod install
Usage
import { Barcode } from '@reeq/react-native-pdf417';
const { width: windowWidth } = useWindowDimensions();
<Barcode
text="hello pdf417"
style={{ height: windowWidth / 4, width: windowWidth }}
onPress={() => {
console.log('barcode pressed');
}}
/>;
Props
most of the default View
props and:
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT
Made with create-react-native-library