system-props / system-props

Responsive, theme-based style props for building design systems with React. Written in TypeScript.

Home Page:https://system-props.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug with PropConfig types

roginfarrer opened this issue · comments

  Property 'fontSmoothing' is incompatible with index signature.
    Type '{ readonly property: "-webkit-font-smoothing"; }' is not assignable to type 'true | PropertyConfig'.

re-creation:

const system = createSystem();

system({
  fontSmoothing: {
    property: '-webkit-font-smoothing'
  }
})