Skip to content

Conversation

mournfulCoroner
Copy link
Contributor

Because of the differences between React.ReactNode in React version 18 and previous versions, type React.ReactNode does not pass typescript checks during use on a react versions below 18

Example:
2025-08-25_22-45-57

Fixed the type on React.ReactElement as more compatible
P.S. It seems that there are no internal type checks for children in these components, so this should not affect usage

@gravity-ui-bot
Copy link
Contributor

Playwright Test Component is ready.

@gravity-ui-bot
Copy link
Contributor

Preview is ready.

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.

2 participants