Announcing support for the css prop! ๐
November 26, 2018 at 8:39amAnnouncing support for the css prop! ๐
November 26, 2018 at 8:39amExcited to announce that styled-components now has native support for the
css
prop! const MyButton = () => (<buttoncss={`color: papayawhip;background: palevioletred;`}>Click me!</button>)
Simply upgrade to the latest Babel plugin version and you're ready to
css
and roll ๐๐ผAnnouncement blogpost with a lot more info: https://medium.com/styled-components/announcing-native-support-for-the-css-prop-in-styled-components-245ca5252feb
Let us know what you think! ๐
January 12, 2019 at 5:33am
August 20, 2019 at 5:28pm
Do any one of you know a way to properly highlight syntax within the css prop in VSCode? Bonus points if you know how to make colorize work there too!
Sorry, wrong channel (?) ๐ (maybe should go to #help)
September 10, 2019 at 5:50am
You can get the syntax highlight by installing vscode-styled-components extension and using css helper.