UNPKG

supertokens-auth-react

Version:

ReactJS SDK that provides login functionality with SuperTokens.

25 lines (24 loc) 908 B
/// <reference types="react" /> import type { ContinueOnSuccessParams, SignUpFormProps } from "../../../types"; export declare enum SignUpScreen { SignUpForm = 0, PasskeyConfirmation = 1, Error = 2, } export declare const SignUpFormInner: import("react").ComponentType< SignUpFormProps & { footer?: JSX.Element | undefined; onContinueClick: (params: ContinueOnSuccessParams) => void; setActiveScreen: React.Dispatch<React.SetStateAction<SignUpScreen>>; onRecoverAccountClick: () => void; } >; export declare const SignUpForm: ( props: SignUpFormProps & { footer?: JSX.Element | undefined; onContinueClick: (params: ContinueOnSuccessParams) => void; activeScreen: SignUpScreen; setActiveScreen: React.Dispatch<React.SetStateAction<SignUpScreen>>; onRecoverAccountClick: () => void; } ) => JSX.Element | null;