elements
elements copied to clipboard
export OryComponentProvider
Preflight checklist
- [x] I could not find a solution in the existing issues, docs, nor discussions.
- [x] I agree to follow this project's Code of Conduct.
- [x] I have read and am following this repository's Contribution Guidelines.
- [x] I have joined the Ory Community Slack.
- [x] I am signed up to the Ory Security Patch Newsletter.
Ory Network Project
No response
Describe your problem
I would like to override the default group & node sorter, I think I could achieve this by providing custom sorters into OryComponentProvider. Unfortunatelly, OryComponentProvider is not exported in @ory/elements-react
Describe your ideal solution
Add an export for OryComponentProvider in packages/elements-react/src/context/index.tsx
export { useComponents, useNodeSorter, OryComponentProvider } from "./component"
Workarounds or alternatives
No workaround possible.
Version
@ory/elements-react: ^1.0.0-rc.5
Additional Context
No response