Answers for "namespace react has no export member FC"

0

namespace react has no export member FC

First check if your file has a "tsx" extension or not, if not add it .
//(First way)
npm install @types/react@latest --save-dev

//(Second way)
npm i @types/react@latest --save
delete node_modules
delete yarn.lock
then run
npm install or (yarn install)
Posted by: Guest on October-21-2020

Code answers related to "namespace react has no export member FC"

Code answers related to "Javascript"

Browse Popular Code Answers by Language