@svgr/babel-plugin-transform-svg-component

Install

npm install --save-dev @svgr/babel-plugin-transform-svg-component

Usage

.babelrc

{
  "plugins": [
    ["@svgr/babel-plugin-transform-svg-component", { "titleProp": true }]
  ]
}

License

MIT

Last updated