Type error: 'Html' cannot be used as a JSX component. #1025
Unanswered
vasily-mishanin
asked this question in
Q&A
Replies: 2 comments
-
Same here -- any answers on this front? |
Beta Was this translation helpful? Give feedback.
0 replies
-
You might want to check that you have the correct version of This might indicate that there are incompatibilities with react-email's typings for future versions of React, but I didn't have time to investigate further and figure out who should update things |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
I use "@react-email/components": "0.0.6", and "react-email": "1.9.3".
I use it in Next.js 13 project.
The folder "react-email-starter" is on the same level with "app" folder (in the root of project).
All templates inside "react-email-starter/emails/" have type errors like "'Body' cannot be used as a JSX component.". All these components (Html, Body e.c.) are imported from '@react-email/components'.
Help me please! Is this a bug or I can do something?
Beta Was this translation helpful? Give feedback.
All reactions