Skip to content
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

[Testing] shouldRenderCustomStyles account for more configurations #6152

Closed
thompsongl opened this issue Aug 22, 2022 · 1 comment · Fixed by #6248
Closed

[Testing] shouldRenderCustomStyles account for more configurations #6152

thompsongl opened this issue Aug 22, 2022 · 1 comment · Fixed by #6248

Comments

@thompsongl
Copy link
Contributor

Yeah it looks like there are a couple scenarios not accounted for in the shouldRenderCustomStyles helper.

  • When the css prop is passed to a component that already uses Emotion
  • When the style prop is not passed to the main element in the component

Looking, but we may need shouldRenderCustomStyles to accept a some kind of config object

Originally posted by @thompsongl in #6110 (comment)

@cee-chen
Copy link
Contributor

Totally lost track of this issue, thanks greg!

Will be resolved by #6239 and #6248.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants