@kirbi96/rn-barcode-aztec

1.0.1 • Public • Published

rn-barcode-aztec

A react-native component to generate AztecCode and QRcode.

This is based on this project

Aztec code is one of the standars in Aviation for E-ticket generator.

this module support iOS and Android

Installation

npm install rn-barcode-aztec

Usage

import React, { Component } from 'react'
import {View} from 'react-native';

import code from '@kirbi96/rn-barcode-aztec';

const Aztec = code.Aztec;

export const QRCodePrint = () =>{

return(
<View style={QRCodeArgs?.size ? {marginLeft: 20} : {marginLeft: 10}}>
  <Aztec
      value={"message"}
      size={300}
  />
</View>
)

}

Available Props

prop type default value
value string http://facebook.github.io/react-native/
size number 128
type number `1
bgColor string (CSS color) "#FFFFFF"
fgColor string (CSS color) "#000000"

Readme

Keywords

Package Sidebar

Install

npm i @kirbi96/rn-barcode-aztec

Weekly Downloads

4

Version

1.0.1

License

ISC

Unpacked Size

44 kB

Total Files

9

Last publish

Collaborators

  • kirbi96