FlowContextValue
type FlowContextValue = OryFlowContainer & {
dispatchFormState: Dispatch<FormStateAction>
formState: FormState
setFlowContainer: FlowContainerSetter
}
The return value of the OryFlowContext.
Type declaration
| Name | Type | Description |
|---|---|---|
dispatchFormState | Dispatch<FormStateAction> | Dispatch function to update the form state. |
formState | FormState | The current form state. See FormState |
setFlowContainer | FlowContainerSetter | Function to set the flow container. |