We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
as
css
On latest canary, 1.0.0-canary.7, using as with css on a styled component causes a type error.
1.0.0-canary.7
Example:
<Box as="h1" css={{ fontFamily: "fantasy" }} /> // type error
Here are two sandboxes comparing type behavior:
1.0.0-canary.7 1.0.0-canary.6
1.0.0-canary.6
Seems to have started in 1.0.0-canary.7.
The text was updated successfully, but these errors were encountered:
Side note: I was already removing any usage of as from my project 😅.
Sorry, something went wrong.
Looks like was fixed in canary.9 (and is still fixed in 11)
No branches or pull requests
Bug report
Describe the bug
On latest canary,
1.0.0-canary.7
, usingas
withcss
on a styled component causes a type error.To Reproduce
Example:
Here are two sandboxes comparing type behavior:
1.0.0-canary.7
1.0.0-canary.6
Additional context
Seems to have started in
1.0.0-canary.7
.The text was updated successfully, but these errors were encountered: