menu
announcement

Spectrum is now read-only. Learn more about the decision in our official announcement.

styled-components

Visual primitives for the component age. Use the best bits of ES6 and CSS to style your apps without stress!

Channels
Team

GlobalStyle is it possible to extend when importing?

August 21, 2021 at 5:03pm

GlobalStyle is it possible to extend when importing?

August 21, 2021 at 5:03pm
is it possible to import a GlobalStyle from another library which has been created using createGlobalStyle and extend with some more styles? cont { GlobalStyle } from "another-library"; const ExtendGlobal = styled(GlobalStyle)select { background-color: #f60; }
No messages yet