I have an SVG image I want to render through the classic JSX Element <img>
, in place of the <Image>
.
<img
src="/public/smiley-face.svg"
css={classes.sideSmileyFace}
alt="Presentation logo"
role="presentation"
/>
This way, the IDE does not complain about the position of my SVG file, but it's not rendered: the compilation does not transform that path into the correct one. On the other hand, if I place src="smiley-face.svg
it does work, but the IDE complains. Any idea to fix this?