-
Notifications
You must be signed in to change notification settings - Fork 94
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
React 18: TS2786: 'Rating' cannot be used as a JSX component. #161
Comments
try wrapping the component in a new component
|
@ dreyescat you need to update react types to 18 |
@adham618 @hanieljazzar Unfortunately, your solutions do not solve the problem. It still shows the same errors. It's up to the developers to update their components to be usable with React 18 |
Did anyone solve this issue? Having the same problem on react typescript |
@rdtawagon |
This solution did not resolve my issue do you have any other solution? |
The actual problem is that this project is dead. |
I suggest such work around for TS
|
After upgrading to React 18.2.0 i get the following error when using the
Rating
-ComponentPlease fix for all typescript users!
The text was updated successfully, but these errors were encountered: