UNPKG

@leancodepl/kratos

Version:

Headless React components library for building Ory Kratos authentication flows

12 lines (11 loc) 443 B
type UseFlowManagerProps = { initialFlowId?: string; currentFlowId: string | undefined; error?: Error | null; onFlowRestart?: () => void; createFlow: () => void; setFlowId: (flowId: string | undefined) => void; waitForSession?: boolean; }; export declare const useFlowManager: ({ initialFlowId, currentFlowId, error, onFlowRestart, createFlow, setFlowId, waitForSession, }: UseFlowManagerProps) => void; export {};