@globalid/qrcode
v0.0.8
Published
<img src="https://gitlab.com/globalid/core-libraries-and-tools/design-system/-/raw/main/logo.png" alt="GlobaliD">
Downloads
17
Maintainers
Keywords
Readme
🗳 GlobaliD QR Code
Repository for Global iD QR Code
📲 How to Use
This library is under npmjs as a pivate registry package. To use in your project you will need to set npm login
in your computer and your user needs to be included in www.npmjs.com globalid organization.
npm install @globalid/qrcode
or with yarn
yarn add @globalid/qrcode
Example usage
import React from 'react';
import QrCode from '@globalid/qrcode';
export const MyLoginScreen = () => <QrCode redirect="/foobar" />;
NPM Scripts
"build": "react-scripts build",
"build-rollup": "rollup -c",
"build-storybook": "build-storybook -s public",
"format": "eslint 'src/**/*.{js,ts,tsx}' --quiet --fix",
"lint": "eslint src/**/*.{ts,tsx}",
"start": "start-storybook -p 6006 -s public",
"start-react": "react-scripts start",
"test": "react-scripts test"