@leancodepl/kratos
Version:
Headless React components library for building Ory Kratos authentication flows
12 lines • 457 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 {};
//# sourceMappingURL=useRecoveryFlowContext.d.ts.map