1.0.6 • Published 10 months ago

@reeq/react-native-pdf417 v1.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

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:

  • text: text string you want to convert into barcode. Required

  • onPress: on barcode press event. Not required

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

1.0.6

10 months ago

1.0.5

10 months ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago