Introduction To Styled-Components
Too Long; Didn't Read styled-components is a CSS-in-JS library that helps you to write CSS in a component. You can write scoped CSS which means that CSS will apply only for that element in the component, with no spilling. It is a library which gives a lot of utilities that will map the props to your theme. It also makes you Component Oriented styles easy. To enable support for the CSS prop you have to use the Babel plugin. To use the prop to style the component without creating another styled component.