glamorous → styled components
Demo - https://astexplorer.net/#/gist/a870e9dd1b4e136ee8e42c365170703c/latest
Usage
You'll need to use babel-codemod
to apply this codemod to your existing codebase. It should be pretty straightforward:
-
First, install this plugin:
yarn add glamorous-to-styled-components-codemod -D
-
Then run it:
codemod --plugin glamorous-to-styled-components-codemod "src/**/*.js"