In My Previous post Style React component with styled-components : Part-1 , I wrote how we can start using
styled-components and we created one Spinner component with it.
Now we can see, how we can pass props to the styled component named
StyledSpinner and change the color/behavior of it.
For this example, I will change the border color by passing prop. So, the styled component will show the color what we pass to it. Continue reading