New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expo and react native paper #3217
Comments
The versions mentioned in the issue for the following packages differ from the latest versions on npm:
Can you verify that the issue still exists after upgrading to the latest versions of these packages? |
Hey! Thanks for opening the issue. The issue doesn't seem to contain a link to a repro (a snack.expo.dev link or link to a GitHub repo under your username). Can you provide a minimal repro which demonstrates the issue? A repro will help us debug the issue faster. Please try to keep the repro as small as possible and make sure that we can run it without additional setup. |
I'm able to run the app though, but I cant get rid of this error in vs code. |
Add this to your package.json and run
|
What does this means and used for ? |
Similar issue same solution, read the thread for more info react-navigation/react-navigation#10507 |
Thanks, it worked 🙏 |
I created a simple expo typescript project and add react native paper.
But each time I try to use any component, vs code shows error that 'It cant be used as JSX Component'
The package.json file
A simple App.tsx
The error is shown on usage of Badge.
'Badge' cannot be used as a JSX component.
The text was updated successfully, but these errors were encountered: