Replies: 2 comments
-
This would be a big help. Currently, I'm wrapping existing components to provide re-usable styled components and duplicating their props |
Beta Was this translation helpful? Give feedback.
0 replies
-
+1 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there any way we could get the prop types for each component exported? I'm attempting to wrap the headless ui components with my own that are styled for my UI library, and ideally I'd like to reuse the props as-is. It seems that they aren't imported and can't be derived using
React.ComponentProps<typeof Dialog>
for example.Any help is appreciated, thanks!
Beta Was this translation helpful? Give feedback.
All reactions