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>
);
}