Go ProSign in

Create component variations in React with styled-components and "extend"

In this lesson, we extend the styles of a base button component to create multiple variations of buttons, using "extend". We can then modify the base styles in one place, and have all button types updated.

You must be a Member to view code