@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
14 lines (13 loc) • 505 B
TypeScript
import { SignInQrProps } from '@open-tender/ui';
import React, { ReactNode } from 'react';
import { ScanListener } from '../hooks/types';
declare const SignInQr: ({ close, callback, children, listener, cameraScanner, type, imageUrl }: {
close: () => void;
callback?: () => void;
children: (props: SignInQrProps) => ReactNode;
listener: ScanListener;
cameraScanner: ScanListener;
type?: string;
imageUrl?: string | null;
}) => React.JSX.Element | null;
export default SignInQr;