-
Notifications
You must be signed in to change notification settings - Fork 255
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
Variants not recognised by Typescript #217
Comments
@afzalsayed96 thanks for raising this. @jjenzz wonder if you may know what's going on? |
Fixed here #218 |
I'll do some final testing in canary, then release a new canary release before 0.0.3 |
I just upgraded the sandbox dependency to v0.03 canary and issue still seems to persist. Perhaps updated types weren't published? |
It's because I havent released it yet. I'll leave a comment here when I do, with the version number. You're referring to |
This is fixed in yarn install @stitches/react@0.0.3-canary.1` Note, this release contains the following breaking change:
|
Bug report
Describe the bug
When composing styled components variant types aren't getting merged properly and not all of them show up in props
To Reproduce
rounded
variant doesn't gets recognised as a prop inIconButton
Expected behavior
When composing styled components variants must get deep merged and available as props in the type definition.
The text was updated successfully, but these errors were encountered: