babel-plugin-styled-components
babel-plugin-styled-components copied to clipboard
styled-components/native support
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.
+1 for displayName debugging
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.
This is needed for react-native-web 0.12. Since styled-components give className through the component, and on [email protected] className is ignored.
Is this still not working?