Replies: 2 comments 1 reply
-
I don't know if I'm not following, but the Context types are all exported in React Aria Components https://github.com/adobe/react-spectrum/blob/main/packages/react-aria-components/src/index.ts#L29 Is there a specific problem you've run into? |
Beta Was this translation helpful? Give feedback.
-
Edit: It's not a huge deal and I can work around it. Was just curious if there were plans to fully export the system for "public" use with custom context-aware components or if it's being held back as an implementation detail right now explicitly. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Looks like a new pattern is being tried out in Aria Components alongside slot props; context props.
Currently only
Provider
anduseContextProps
are exported from the package with a few missing likeContextValue
type.How is this working out? Are there plans to export all the relevant types so we can integrate into this system with custom components?
Beta Was this translation helpful? Give feedback.
All reactions