Is there a way to style similar elements differently using different CSS properties in styled components? For example:
<div></div>
<div></div>
With the knowledge I have, I can do:
export const StyledDiv = styled.div`
color: red;
`
And change <div></div>
to
<StyledDiv></StyledDiv>
. But what if I want each of these divs to have different styles? For instance, one with blue color and another with red. These 2 elements are just examples to illustrate the concept. Now imagine a page with dozens of divs, each requiring a unique style. How would you approach this effectively?