README.md 284 Bytes

@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