Skip to content

Conversation

DenisStoliarchuk
Copy link
Contributor

Fix new problem with error 'Its instance type 'ReactTooltip' is not a valid JSX element.' and 'Type 'React.ReactNode' is not assignable to type 'import("/node_modules/@types/react-dom/node_modules/@types/react/index").ReactNode'.'

Fix new problem with error 'Its instance type 'ReactTooltip' is not a valid JSX element.' and 'Type 'React.ReactNode' is not assignable to type 'import("/node_modules/@types/react-dom/node_modules/@types/react/index").ReactNode'.'
@DenisStoliarchuk DenisStoliarchuk changed the title Update index.js fix: Its instance type 'ReactTooltip Apr 12, 2022
@DenisStoliarchuk DenisStoliarchuk changed the title fix: Its instance type 'ReactTooltip fix: Its instance type 'ReactTooltip' is not a valid JSX element. Apr 12, 2022
@aronhelser
Copy link
Collaborator

Does this need to be different for different versions of React?

@DenisStoliarchuk
Copy link
Contributor Author

it's should be for react 18, lower working fine

Copy link

@rkjain119 rkjain119 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested working please merge

@aronhelser aronhelser merged commit 43ac8b9 into ReactTooltip:master Apr 30, 2022
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.

4 participants