@leancodepl/kratos
Version:
Headless React components library for building Ory Kratos authentication flows
26 lines (25 loc) • 1.08 kB
TypeScript
import { OnVerificationFlowError } from "../types";
type UseEmailVerificationFormProps = {
onError?: OnVerificationFlowError;
onVerificationSuccess?: () => void;
};
export declare function useEmailVerificationForm({ onError, onVerificationSuccess }: UseEmailVerificationFormProps): import("@tanstack/react-form").ReactFormExtendedApi<{
code: string;
}, import("@tanstack/react-form").FormValidateOrFn<{
code: string;
}> | undefined, import("@tanstack/react-form").FormValidateOrFn<{
code: string;
}> | undefined, import("@tanstack/react-form").FormAsyncValidateOrFn<{
code: string;
}> | undefined, import("@tanstack/react-form").FormValidateOrFn<{
code: string;
}> | undefined, import("@tanstack/react-form").FormAsyncValidateOrFn<{
code: string;
}> | undefined, import("@tanstack/react-form").FormValidateOrFn<{
code: string;
}> | undefined, import("@tanstack/react-form").FormAsyncValidateOrFn<{
code: string;
}> | undefined, import("@tanstack/react-form").FormAsyncValidateOrFn<{
code: string;
}> | undefined, unknown>;
export {};