$ npm install @svgr/babel-plugin-svg-dynamic-title
npm install --save-dev @svgr/babel-plugin-svg-dynamic-title
.babelrc
{
"plugins": ["@svgr/babel-plugin-svg-dynamic-title"]
}
This plugin handles both the titleProp and descProp options. By default, it will handle titleProp only.
MIT
© 2010 - cnpmjs.org x YWFE | Home | YWFE