Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 368 Bytes

four-cars-tell.md

File metadata and controls

17 lines (14 loc) · 368 Bytes
@emotion/react @emotion/styled
major
major

It's now easier to provide a type for Theme. Instead of creating custom instances (like before) you can augment the builtin Theme interface like this:

import '@emotion/react'

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