reach/reach-ui

Type errors with as property and Emotion

stephen-risk-first opened this issue ยท 0 comments

๐Ÿ› Bug report

Current Behavior

If I use a Reach UI component to create a styled component with Emotion. The as property of the resulting styled component does not have the expected typings.

Expected behavior

The as property of the resulting styled component has the expected typings.

Reproducible example

CodeSandbox Example

Suggested solution(s)

I've no idea if this is actually a problem with Emotion or Reach UI ๐Ÿคท

Additional context

Your environment

Software Name(s) Version
Reach Package Combobox 0.16.5
React 17.0.2
Browser Chrome 98.0.4758.102
Assistive tech
Node
npm/yarn
Operating System