@leancodepl/kratos
Version:
Headless React components library for building Ory Kratos authentication flows
12 lines (11 loc) • 405 B
TypeScript
import { ReactNode } from "react";
type RecoveryFlowContext = {
recoveryFlowId?: string;
setRecoveryFlowId: (recoveryFlowId: string | undefined) => void;
resetFlow: () => void;
};
export declare function RecoveryFlowProvider({ children }: {
children: ReactNode;
}): import("react/jsx-runtime").JSX.Element;
export declare function useRecoveryFlowContext(): RecoveryFlowContext;
export {};