To create a new styled component based on an existing one, the ________ method can be used in Styled Components.

  • clone
  • compose
  • extend
  • inherit
In Styled Components, the extend method is used to create a new styled component based on an existing one, allowing for easy reuse and extension of styles.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *