@reeq/react-native-pdf417
v2.0.2
Published
React-Native library which generates a barcode in pad417 format
Readme
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
Compatibility
- v1.0.6 — compatible with both the old and the new React Native architectures
- v2.0.0 and above — compatible only with the new architecture
Screenshots
Installation
npm install @reeq/react-native-pdf417or
yarn add @reeq/react-native-pdf417and
cd ios/
pod installUsage
import { Pdf417View } from '@reeq/react-native-pdf417';
import { useWindowDimensions } from 'react-native';
const { width: windowWidth } = useWindowDimensions();
<Pdf417View
text="hello pdf417"
style={{ height: windowWidth / 4, width: windowWidth }}
/>Props
Supports most of the default View props and:
text— text string you want to convert into a barcode (required)
Contributing
License
MIT
Made with create-react-native-library
