$ npm install @svgr/babel-plugin-transform-svg-component
npm install --save-dev @svgr/babel-plugin-transform-svg-component
.babelrc
{
"plugins": [
["@svgr/babel-plugin-transform-svg-component", { "titleProp": true }]
]
}
MIT
© 2010 - cnpmjs.org x YWFE | Home | YWFE