useComponents()
function useComponents(): OryFlowComponents
The useComponents
hook provides access to the Ory Flow components provided in the OryComponentProvider
.
You can use this hook to access the components defined in the components
prop of the OryComponentProvider
.
Returns
the current component context value.