UNPKG

@open-tender/store

Version:

A library of hooks, reducers, utility functions, and types for use with Open Tender applications that utilize our in-store POS API

11 lines (10 loc) 381 B
import { ScanListener } from './types'; declare const useSignInQr: (listener: ScanListener, cameraScanner: ScanListener, type?: string, close?: () => void, callback?: () => void) => { handlers: { close: () => void; retry: () => void; }; errMsg: string | null; scan: import("./types").BarcodeScannerMethod | undefined; }; export default useSignInQr;