Replies: 1 comment 1 reply
-
More info.. The file the code is in is a .tsx file so it is expecting a JSX return. Is this not possible? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Greetings:
I am testing out Jodit in a React/Typescript/MUI application, and I get the following compile error:
JSX element type 'JoditEditor' does not have any construct or call signatures.
Using sample discussion from here:
https://www.dhiwise.com/post/reasons-why-react-jodit-is-the-ultimate-wysiwyg-editor
Here is the sample code:
There seems to be some discussions on how to deal with a non-React define component, but I would think this would work out of the box.
Thank you in advance.
Beta Was this translation helpful? Give feedback.
All reactions