JSX component1 [React Native] TypeScript 빨간맛, 'View' cannot be used as a JSX component. react: 17.0.2 react-native: 0.65.1 TS2786: 'View' cannot be used as a JSX component. Its instance type 'View' is not a valid JSX element. The types returned by 'render()' are incompatible between these types. Type 'import("/Users/.../node_modules/@types/react-native/node_modules/@types/react/index"). ReactNode' is not assignable to type 'React.ReactNode'. Type '{}' is not assignable to type 'Rea.. 2022. 9. 26. 이전 1 다음