react-zxing
Version: 
Integrate zxing to your React application using a custom hook
8 lines (7 loc) • 373 B
TypeScript
import { BrowserMultiFormatReader, DecodeHintType } from "@zxing/library";
interface UseBrowserMultiFormatReaderOptions {
    hints?: Map<DecodeHintType, any>;
    timeBetweenDecodingAttempts?: number;
}
export declare const useBrowserMultiFormatReader: ({ timeBetweenDecodingAttempts, hints, }?: UseBrowserMultiFormatReaderOptions) => BrowserMultiFormatReader;
export {};