UNPKG

react-qrcode

Version:

🤳 A React component for QR code generation with `qrcode`

4 lines (3 loc) • 254 B
import { QRCodeOptions, QRCodeValue } from './types.js'; export declare const isQRCodeValue: (valueOrOptions: unknown) => valueOrOptions is QRCodeValue; export declare const useQRCode: (valueOrOptions: QRCodeOptions | QRCodeValue) => string | undefined;