Reach-ui: [Tooltip] DEBUG_STYLE not defined on types

Created on 29 Oct 2019  路  2Comments  路  Source: reach/reach-ui

Getting this error when using DEBUG_STYLE in useTooltip hook:

ERROR in [at-loader] ./src/components/Tooltip/Tooltip.tsx:47:53
    TS2345: Argument of type '{ DEBUG_STYLE: boolean | undefined; }' is not assignable to parameter of type 'HTMLProps<any>'.
  Object literal may only specify known properties, and 'DEBUG_STYLE' does not exist in type 'HTMLProps<any>'.
Bug

All 2 comments

Should be fixed in 0.5.4

Thanks! Just wanted to say that I really appreciate the swift responses and recent work that you guys have been ramping up on Reach UI :-)

Was this page helpful?
0 / 5 - 0 ratings