skip to Main Content

'TouchableOpacity' cannot be used as a JSX component. 'View' is not a valid JSX element – React native

'TouchableOpacity' cannot be used as a JSX component. Its instance type 'TouchableOpacity' is not a valid JSX element. The types returned by 'render()' are incompatible between these types. Type 'import("/Users/sanjeevkumar/React/help_idea_update/mypatapp-v2-update/node_modules/@types/react-native/node_modules/@types/react/index").ReactNode' is not assignable to type 'React.ReactNode'. why this is giving…

VIEW QUESTION
Back To Top
Search