babel-plugin-styled-components icon indicating copy to clipboard operation
babel-plugin-styled-components copied to clipboard

styled-components/native support

Open ckknight opened this issue 8 years ago • 4 comments

As-is, this plugin does not appear to detect usages of styled when imported from styled-components/native instead of styled-components.

I'm specifically interested in the displayName support to make debugging easier.

ckknight avatar Jul 01 '17 00:07 ckknight

+1 for displayName debugging

patrickkempff avatar Sep 05 '17 20:09 patrickkempff

This would be awesome! I just tried to set babel-plugin-styled-components up in my react-native project only to discover that displayName didn't work unfortunately.

evelant avatar Sep 18 '19 20:09 evelant

This is needed for react-native-web 0.12. Since styled-components give className through the component, and on [email protected] className is ignored.

Jekiwijaya avatar Feb 02 '20 19:02 Jekiwijaya

Is this still not working?

axhamre avatar Jun 16 '21 14:06 axhamre