@toichubek/avn-qr
TypeScript icon, indicating that this package has built-in type declarations

1.0.6 • Public • Published

AVN_QR

AVN QR code generator for LMS payment

This package is published on npmjs.com

Getting started

install: npm install @toichubek/avn-qr

import AVN_QR from '@toichubek/avn-qr'
import { QRCodeSVG } from "qrcode.react";

export default function App() {
  const service = 101;
  const cipher = 201084113101;
  const comment = "Плата за обучение";
  const university = "КГТУ им. И.Раззакова";

  const data = {
    service,
    cipher,
    comment,
    university
  };
  const result = GeneratorHere(data);
    return (
    <div className="App">
        <h1>AVN QR code</h1>
        <p>{result}</p>
        <QRCodeSVG
            value={result}
            size={256}
            includeMargin={true}
            backgroundColor="transparent"
            foregroundColor="black"
        />
        </div>
    );
 
}

Readme

Keywords

none

Package Sidebar

Install

npm i @toichubek/avn-qr

Weekly Downloads

0

Version

1.0.6

License

MIT

Unpacked Size

24.1 kB

Total Files

10

Last publish

Collaborators

  • toichubek