@promptbook/remote-client
Version:
Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action
19 lines (18 loc) • 508 B
TypeScript
/// <reference types="react" />
import type { QRCodeRenderersOptions } from 'qrcode';
import type { string_url_image } from '../../types/string_url_image';
/**
* Options for qr code.
*/
export type QrCodeOptions = QRCodeRenderersOptions & {
value: string | number;
logoSrc?: string_url_image;
};
/**
* Uses qr code.
*
* @private utility of QR code components
*/
export declare function useQrCode(options: QrCodeOptions): {
canvasRef: import("react").RefObject<HTMLCanvasElement | null>;
};