Skip to content

Commit 7ae2819

Browse files
author
Denis Stoliarchuk
authored
Update index.js
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'.'
1 parent 89429a9 commit 7ae2819

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ import 'core-js/modules/es.array.find';
3232
@getEffect
3333
@bodyMode
3434
@trackRemoval
35-
class ReactTooltip extends React.Component {
35+
class ReactTooltip extends React.ReactNode {
3636
static get propTypes() {
3737
return {
3838
uuid: PropTypes.string,

0 commit comments

Comments
 (0)