You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Full error:
'CheckboxTree' cannot be used as a JSX component.
Its instance type 'CheckboxTree' is not a valid JSX element.
The types returned by 'render()' are incompatible between these types.
Type 'React.ReactNode' is not assignable to type 'import
Type '{}' is not assignable to type 'ReactNode'
Some details:
react-checkbox-tree: "1.8.0"
react: "^17.0.2"
react-dom: "^17.0.2"
react-types: "^17.0.37"
We're using yarn to build.
Tried to downgrade react-checkbox-tree to "1.7.3" but same error.
Have looked into adding a resolutions for @types/react to 17 (similar to this: facebook/react#24304 (comment)), did a cleanup of node_modules and then yarn install but error still persists
Updating to react18 is not an option yet.
Appreciate your help. Thanks
The text was updated successfully, but these errors were encountered:
Full error:
'CheckboxTree' cannot be used as a JSX component.
Its instance type 'CheckboxTree' is not a valid JSX element.
The types returned by 'render()' are incompatible between these types.
Type 'React.ReactNode' is not assignable to type 'import
Type '{}' is not assignable to type 'ReactNode'
Some details:
react-checkbox-tree: "1.8.0"
react: "^17.0.2"
react-dom: "^17.0.2"
react-types: "^17.0.37"
We're using yarn to build.
Tried to downgrade react-checkbox-tree to "1.7.3" but same error.
Have looked into adding a resolutions for @types/react to 17 (similar to this: facebook/react#24304 (comment)), did a cleanup of node_modules and then yarn install but error still persists
Updating to react18 is not an option yet.
Appreciate your help. Thanks
The text was updated successfully, but these errors were encountered: