cschroeter / park-ui

Beautifully designed components built with Ark UI and Panda CSS that work with a variety of JS frameworks.
https://park-ui.com
MIT License
1.75k stars 75 forks source link

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

Closed DwieDave closed 4 months ago

DwieDave commented 6 months 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 6 months 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
cschroeter commented 4 months ago

@DwieDave This should be fixed by now