supertokens-auth-react
Version:
ReactJS SDK that provides login functionality with SuperTokens.
22 lines (21 loc) • 990 B
TypeScript
/// <reference types="react" />
import type { SignUpThemeProps } from "../../../types";
export declare const SignUpForm: import("react").ComponentType<
import("../../../../../types").ThemeBaseProps & {
recipeImplementation: import("supertokens-web-js/recipe/emailpassword").RecipeInterface;
clearError: () => void;
onFetchError: (error: Response) => void;
onError: (error: string) => void;
config: import("../../../types").NormalisedConfig;
signInClicked?: (() => void) | undefined;
onSuccess: (result: { user: import("supertokens-web-js/types").User }) => void;
formFields: import("../../../types").FormFieldThemeProps[];
error: string | undefined;
userContext: import("../../../../../types").UserContext;
} & {
header?: JSX.Element | undefined;
footer?: JSX.Element | undefined;
}
>;
declare function SignUpTheme(props: SignUpThemeProps): JSX.Element;
export default SignUpTheme;