the idea is to remove the weird mapping of css classes and jsx and just have your css in your components. Its a very clever implementation although, I do admit it might not be for everyone.
Here is a quick POC where i converted a few things over. We could literally move all the styles into these quite easily just wanted to give you an idea of how it works.
Styled Components POC
the idea is to remove the weird mapping of css classes and jsx and just have your css in your components. Its a very clever implementation although, I do admit it might not be for everyone.
Here is a quick POC where i converted a few things over. We could literally move all the styles into these quite easily just wanted to give you an idea of how it works.
Their docs are pretty goood: https://www.styled-components.com/docs