React Styled-Components: A smart way (Also React Native)

Vilva Athiban P B
3 min readNov 19, 2019

Simple Tricks and Tips to use Styled-Components in a better way.

1. Props at the component level

In styled-components, we can get access to the props of the component and create dynamic styles as follows.