Bhavya gor

Results 2 comments of Bhavya gor

Hey is there a fix available for this?

Got around this issue by doing this -- in the tsconfig.json { "compilerOptions": { "jsx":"react", "strict": true, "paths": { "react": [ "./node_modules/@types/react" ] } } } [stack overflow link](https://stackoverflow.com/questions/62702485/component-cannot-be-used-as-a-jsx-component-its-return-type-element-is-not)