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

17 lines (16 loc) 906 B
import { ErrorMessageProps, KeypadProps, SignInOptionsModalProps, SignInPhoneProps, SignInQrProps, SignUpProps } from '@open-tender/ui'; import React, { ReactNode } from 'react'; import { ScanListener } from '../hooks/types'; declare const SignInOptionsModal: ({ listener, cameraScanner, close, children, SignInQrView, SignInPhoneView, SignUpView, KeypadView, ErrorMessageView, imageUrl }: { listener: ScanListener; cameraScanner: ScanListener; close: () => void; children: (props: SignInOptionsModalProps) => ReactNode; SignInQrView: (props: SignInQrProps) => ReactNode; SignInPhoneView: (props: SignInPhoneProps) => ReactNode; SignUpView: (props: SignUpProps) => ReactNode; KeypadView: (props: KeypadProps) => ReactNode; ErrorMessageView: (props: ErrorMessageProps) => ReactNode; imageUrl?: string | null; }) => React.ReactNode; export default SignInOptionsModal;