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)
Yeah it looks like there are a couple scenarios not accounted for in the
shouldRenderCustomStyleshelper.cssprop is passed to a component that already uses Emotionstyleprop is not passed to the main element in the componentLooking, but we may need
shouldRenderCustomStylesto accept a some kind of config objectOriginally posted by @thompsongl in #6110 (comment)