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
not sure why, but when I put Checkbox inside the JSX I'm getting the following error:
"TS2786: 'CheckBox' cannot be used as a JSX component.
Its instance type 'CheckBox' 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("C:/Projects/.../node_modules/@types/react-native-modalbox/node_modules/@types/react/index").ReactNode'.
Type '{}' is not assignable to type 'ReactNode'.
Type '{}' is missing the following properties from type 'ReactPortal': key, children, type, props"
Hi,
not sure why, but when I put Checkbox inside the JSX I'm getting the following error:
"TS2786: 'CheckBox' cannot be used as a JSX component.
Its instance type 'CheckBox' 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("C:/Projects/.../node_modules/@types/react-native-modalbox/node_modules/@types/react/index").ReactNode'.
Type '{}' is not assignable to type 'ReactNode'.
Type '{}' is missing the following properties from type 'ReactPortal': key, children, type, props"
Has anyone seen that error?
The text was updated successfully, but these errors were encountered: