UNPKG

@leancodepl/kratos

Version:

Headless React components library for building Ory Kratos authentication flows

14 lines (13 loc) 540 B
import { ReactNode } from "react"; type VerificationFlowContext = { verificationFlowId?: string; setVerificationFlowId: (verificationFlowId: string | undefined) => void; verifiableAddress?: string; setVerifiableAddress: (verifiableAddress: string | undefined) => void; resetFlow: () => void; }; export declare function VerificationFlowProvider({ children }: { children: ReactNode; }): import("react/jsx-runtime").JSX.Element; export declare function useVerificationFlowContext(): VerificationFlowContext; export {};