UNPKG

@leancodepl/kratos

Version:

Headless React components library for building Ory Kratos authentication flows

25 lines (24 loc) 980 B
import { OnRecoveryFlowError } from "../types"; type UseEmailFormProps = { onError?: OnRecoveryFlowError; }; export declare function useEmailForm({ onError }: UseEmailFormProps): import("@tanstack/react-form").ReactFormExtendedApi<{ email: string; }, import("@tanstack/react-form").FormValidateOrFn<{ email: string; }> | undefined, import("@tanstack/react-form").FormValidateOrFn<{ email: string; }> | undefined, import("@tanstack/react-form").FormAsyncValidateOrFn<{ email: string; }> | undefined, import("@tanstack/react-form").FormValidateOrFn<{ email: string; }> | undefined, import("@tanstack/react-form").FormAsyncValidateOrFn<{ email: string; }> | undefined, import("@tanstack/react-form").FormValidateOrFn<{ email: string; }> | undefined, import("@tanstack/react-form").FormAsyncValidateOrFn<{ email: string; }> | undefined, import("@tanstack/react-form").FormAsyncValidateOrFn<{ email: string; }> | undefined, unknown>; export {};