UNPKG

@salad-labs/loopz-typescript

Version:
35 lines 1.21 kB
import React, { FC } from "react"; import { Maybe } from "../../types"; declare const LoopzEmailForm: FC<{ handleRequestCode: (e: React.FormEvent) => void; handleVerifyCode: (e: React.FormEvent) => void; setEmail: React.Dispatch<React.SetStateAction<string>>; setCode: React.Dispatch<React.SetStateAction<string>>; setStep: React.Dispatch<React.SetStateAction<"email" | "code">>; email: string; code: string; step: "email" | "code"; loading: boolean; error: Maybe<string>; success: string; logoURL: string; tosURL: string; privacyURL: string; onClose?: () => void; onBack?: () => void; translations: { titleApp: string; stepVerificationCodeLabel: string; stepVerificationCodeDescriptionLabel: string; emailAddressFieldLabel: string; buttonSendingVerificationLabel: string; buttonSendVerificationLabel: string; sixDigitDescriptionLabel: string; backLabel: string; buttonVerifyingCodeLabel: string; buttonVerifyCodeLabel: string; resendVerificationCodeLabel: string; }; }>; export default LoopzEmailForm; //# sourceMappingURL=loopzemailform.d.ts.map