-
-
Notifications
You must be signed in to change notification settings - Fork 142
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
Spreading CSS Prop #332
Comments
Apparently, the CSS Prop is not working correctly on custom components (at least in my app) and its only working in HTML Tags
Then you can use
Edit: Better yet, you can pass just className prop instead of spreading all props. Hope that helps you! |
Can y'all try |
Alright so I made a lot of improvements to the plugin in 1.13.2 but I don't think this scenario will work:
Essentially, it's really hard to trace back the If someone can find an example of another babel plugin adding support for this sort of reflection I'd give implementing it here a go, but in the absence of an example I don't see it landing. |
Hi guys,
I'm trying the following, but it doesn't work.
It's part of using css prop with reusable, dynamic styles.
Do you got an idea why spreading the css prop doesn't work?
The text was updated successfully, but these errors were encountered: