-
-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Typing component props with Stitches #66
Comments
I have a workaround to the issue above by forwarding the ref in order to add props to the exported component:
|
This is how I got this "working" in my project. Few things to note, in the stitches config you need to make sure This was tested with |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've set up twin macros with stitches following the examples but my
styled-components
exportany
type.I was wondering if there's a way to type it so that I can autocomplete the props in VSCode
Here's my
twin.d.ts
The text was updated successfully, but these errors were encountered: