headlessui icon indicating copy to clipboard operation
headlessui copied to clipboard

[React] `as` prop with typescript requires specifying generic value.

Open hailwood opened this issue 3 years ago • 0 comments

What package within Headless UI are you using? @headlessui/react

What version of that package are you using? v1.6.5

What browser are you using? N/A

Reproduction URL https://codesandbox.io/s/nervous-night-mstohd?file=/src/App.tsx

Describe your issue We cannot use the as prop on any headless ui elements without manually specifying the generic value.

hailwood avatar Jun 29 '22 02:06 hailwood