'ErrorMessage' cannot be used as a JSX component.
Having tried multiple times to download your codebase and running it locally, I'm getting this error in multiple components.
I can solve this issue by writing ts-ignore above, but this does not seem to be a correct way of resolving to issue.
How can I fix this error?
Edit: See my stackoverflow question for more details: https://stackoverflow.com/questions/72613992/react-typescript-component-cannot-be-used-as-a-jsx-component-webstorm-ide
Could you please follow the doc: https://preview.keenthemes.com/metronic8/react/docs/docs/quick-start, it will help you to avoid this issue.