1.0.1 • Published 3 years ago

@kirbi96/rn-barcode-aztec v1.0.1

Weekly downloads
5
License
ISC
Repository
-
Last release
3 years ago

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

proptypedefault value
valuestringhttp://facebook.github.io/react-native/
sizenumber128
typenumber1|2
bgColorstring (CSS color)"#FFFFFF"
fgColorstring (CSS color)"#000000"