cschroeter / park-ui

Beautifully designed components built on Ark UI that work for the JS and CSS frameworks of your choice.
https://park-ui.com
MIT License
1.47k stars 59 forks source link

Combobox Type Errors: Type 'RootProps' does not satisfy the constraint 'ValidComponent' #326

Open DwieDave opened 1 month ago

DwieDave commented 1 month ago

I'm trying to get the combobox to work with my setup:

After adding the combobox using the CLI (which worked great for the Button) I'm getting a bunch of typescript errors in the ui/combobox.tsx:

grafik

and from those I get the following when I use the ComboBox Components:

grafik

While this still works when I run pnpm dev it doesn't build with astro/vite with those errors.

DwieDave commented 1 month ago

Initializing Park-UI with npx @park-ui/cli@latest init again helped with this issue for me. There is still an error in the combobox.tsx that got added from the cli (I re-ran the add command with the most current version as well)

grafik

This is sadly still preventing the build from running:

grafik