@open-tender/ui
Version:
A component library for use with the Open Tender web app
15 lines (14 loc) • 775 B
TypeScript
import { KioskSignInType, PosScannerType } from '@open-tender/types';
import React, { ReactNode } from 'react';
import { Handlers, ScreenConfig } from '../types';
export interface SignInOptionsModalProps {
config: ScreenConfig;
modalContentConfig: ScreenConfig;
handlers: Handlers;
signInType: KioskSignInType | null;
scannerType?: PosScannerType;
renderSignInQr: (close: () => void) => ReactNode;
renderSignInPhone: (close: () => void) => ReactNode;
}
declare const SignInOptionsModal: ({ config, modalContentConfig, handlers, signInType, scannerType, renderSignInQr, renderSignInPhone }: SignInOptionsModalProps) => string | number | boolean | Iterable<React.ReactNode> | React.JSX.Element | null | undefined;
export default SignInOptionsModal;