-
-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PanelResizeHandle cannot be used as a JSX component (wrong types) #256
Comments
I think React TypeScript types have changed recently to better work with server components (vercel/next.js#42292) so the fix here is probably for me to update the return types this library declares. In the meanwhile, you can cast or ts-ignore this error. |
Yeah I went with @ts-expect-error for now 🙏 |
Thanks for the answer, it helps me to solve the error |
This fix just went out with 1.0.8 ❤️ → ☕ givebrian.coffee |
I'm getting an error for PanelResizeHandle when rendering an example from docs.
TS Error:
Code:
Stackblitz: https://stackblitz.com/edit/stackblitz-starters-zbzfr8?file=src%2Findex.tsx
Every package is up to date (latest):
The text was updated successfully, but these errors were encountered: