Skip to content
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

Changed component signature to declare ReactElement return type (rather than React Node) #259

Merged
merged 1 commit into from
Jan 9, 2024

Conversation

bvaughn
Copy link
Owner

@bvaughn bvaughn commented Jan 9, 2024

This is being done to address recent TypeScript React changes that cause "cannot be used as a JSX component" errors.

Resolves #256

…er than React Node)

This is being done to address recent TypeScript React changes that cause "cannot be used as a JSX component" errors.
Copy link

vercel bot commented Jan 9, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
react-resizable-panels ✅ Ready (Inspect) Visit Preview Jan 9, 2024 0:26am

@bvaughn bvaughn merged commit 5b29654 into main Jan 9, 2024
7 checks passed
@bvaughn bvaughn deleted the issues/256 branch January 9, 2024 00:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PanelResizeHandle cannot be used as a JSX component (wrong types)
1 participant