Skip to main content

FlowContextValue

type FlowContextValue = OryFlowContainer & {
dispatchFormState: Dispatch<FormStateAction>;
formState: FormState;
setFlowContainer: FlowContainerSetter;
};

The return value of the OryFlowContext.

Type declaration

NameTypeDescription
dispatchFormStateDispatch<FormStateAction>Dispatch function to update the form state.
formStateFormStateThe current form state. See FormState
setFlowContainerFlowContainerSetterFunction to set the flow container.