UNPKG

@promptbook/vercel

Version:

Promptbook: Turn your company's scattered knowledge into AI ready books

16 lines (15 loc) 457 B
/// <reference types="react" /> import type { QRCodeRenderersOptions } from 'qrcode'; import type { string_url_image } from '../../types/typeAliases'; export type QrCodeOptions = QRCodeRenderersOptions & { value: string | number; logoSrc?: string_url_image; }; /** * * * @private utility of QR code components */ export declare function useQrCode(options: QrCodeOptions): { canvasRef: import("react").RefObject<HTMLCanvasElement | null>; };