Skip to content

Latest commit

 

History

History
15 lines (13 loc) · 366 Bytes

four-cars-tell.md

File metadata and controls

15 lines (13 loc) · 366 Bytes
@emotion/react @emotion/styled
major
major

Reworked TypeScript definitions so it's easier to provide a type for Theme. Instead of creating custom instances (like before) you can augment builtin Theme interface like this:

declare module '@emotion/react' {
  export interface Theme {
    primaryColor: string
    secondaryColor: string
  }
}