gatsby-plugin-react-svg icon indicating copy to clipboard operation
gatsby-plugin-react-svg copied to clipboard

is it possible to use svg on filepath url

Open mustofa-binary opened this issue 4 years ago • 0 comments

i want to achieve something like this

import Icon from '../path.svg'
<img src={Icon} alt='icon' />

but i got an error that props src is invalid

mustofa-binary avatar May 05 '20 10:05 mustofa-binary