Skip to content

Conversation

@erictaylor
Copy link

The new @types/react@^18 package ships with breaking changes. One such change is that children prop is no longer automatically included as part of the React.Component typing. Components need to opt-in to the children prop now.

This PR adds explicit children prop typing to the components the library exposes.

Fixes issues with incoming @types/react@^18 breaking changes.
@erictaylor
Copy link
Author

Pinging @trevorr for review.

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.

1 participant