Search code examples
javascriptreactjsecmascript-6webstorm

Cannot resolve symbol ReactComponent in WebStorm


I am importing SVG images as components in React. WebStorm highlights a warning cannot resolve symbol ReactComponent.

Is there any way to fix it without disabling the warning?


Solution

  • What IDE build do you use? Similar issue (WEB-40094) is fixed in the most recent WebStorm update