SyntaxFix
Write A Post
Hire A Developer
Questions
For some reasons above mentioned approaches did now work for me, before I followed the advice to add .default like this:
.default
<div> <img src={require('../../mySvgImage.svg').default} alt='mySvgImage' /> </div>