the-forest/client/node_modules/@svgr/babel-plugin-remove-jsx-attribute/README.md
2024-09-17 20:35:18 -04:00

352 B

@svgr/babel-plugin-remove-jsx-attribute

Install

npm install --save-dev @svgr/babel-plugin-remove-jsx-attribute

Usage

.babelrc

{
  "plugins": [
    [
      "@svgr/babel-plugin-remove-jsx-attribute",
      {
        "elements": ["svg"],
        "attributes": ["width", "height"]
      }
    ]
  ]
}

License

MIT