Quantcast
Channel: Active questions tagged react-native+typescript - Stack Overflow
Viewing all articles
Browse latest Browse all 6287

'Button' cannot be used as a JSX component

$
0
0

enter image description here

These ESLint errors happen with components imported from React Native Paper imports since Expo upgrade from SDK 43 to 45. The project is able to run though.

import { Button } from 'react-native-paper';

There seem to be no ESLint errors in the import.

Any ideas?


Viewing all articles
Browse latest Browse all 6287

Trending Articles