UNPKG

@hhgtech/hhg-components

Version:
13 lines (12 loc) 519 B
import React from 'react'; export type PhoneOtpFormProps = { onSubmit?(otp: string): void | Promise<string | undefined | void>; phone?: string; onResendCode(phone: string): void; otpError?: string; onClose(): void; loading?: boolean; canSkip?: boolean; isWhatsApp?: boolean; }; export declare const PhoneOtpForm: ({ onSubmit: _onSubmit, phone: phoneProp, onResendCode, otpError, onClose, loading, canSkip: canSkipInit, isWhatsApp, }: PhoneOtpFormProps) => React.JSX.Element;