npm install --save-dev @svgr/babel-plugin-transform-svg-component
.babelrc
{ "plugins": [ ["@svgr/babel-plugin-transform-svg-component", { "titleProp": true }] ] }
MIT
Last updated 2 years ago