yoast-components icon indicating copy to clipboard operation
yoast-components copied to clipboard

Use extend() from styled-components for internal use.

Open igorschoester opened this issue 7 years ago • 1 comments

We currently use styled() from styled-components a lot. While they recommend using extend() for internal use. This only works if the Component itself is already styled. But should make it easier to overwrite styles later.

Files to change:

  • [ ] composites/Plugin/Shared/components/Button

igorschoester avatar Mar 20 '18 15:03 igorschoester

Extend does not seem to work like we thought... There are problems with specificity amongst others. Going to close this issue.

igorschoester avatar May 08 '18 12:05 igorschoester