Babel Macro Plugin
A babel-plugin-macros macro for 🥜goober, rewriting styled.div
syntax to styled('div')
calls.
#
UsageOnce you've configured babel-plugin-macros, change your imports from goober
to goober/macro
.
Now you can create your components using styled.*
syntax:.