DEV Community

Discussion on: Styled Components

Collapse
david_l_r profile image
David Rajcher

Also, creating consistence design you can have a Text component that receives a boolean prop named "center".

So if you see you know it is aligned to the center.