UNPKG

@leancodepl/kratos

Version:

Headless React components library for building Ory Kratos authentication flows

29 lines 1.19 kB
import { OnRecoveryFlowError } from '../types'; type UseEmailFormProps = { onError?: OnRecoveryFlowError; }; export declare function useEmailForm({ onError }: UseEmailFormProps): import('@tanstack/react-form').ReactFormExtendedApi<{ email: string; }, import('@tanstack/form-core').FormValidateOrFn<{ email: string; }> | undefined, import('@tanstack/form-core').FormValidateOrFn<{ email: string; }> | undefined, import('@tanstack/form-core').FormAsyncValidateOrFn<{ email: string; }> | undefined, import('@tanstack/form-core').FormValidateOrFn<{ email: string; }> | undefined, import('@tanstack/form-core').FormAsyncValidateOrFn<{ email: string; }> | undefined, import('@tanstack/form-core').FormValidateOrFn<{ email: string; }> | undefined, import('@tanstack/form-core').FormAsyncValidateOrFn<{ email: string; }> | undefined, import('@tanstack/form-core').FormValidateOrFn<{ email: string; }> | undefined, import('@tanstack/form-core').FormAsyncValidateOrFn<{ email: string; }> | undefined, import('@tanstack/form-core').FormAsyncValidateOrFn<{ email: string; }> | undefined, unknown>; export {}; //# sourceMappingURL=useEmailForm.d.ts.map