Projects STRLCPY kitsec-core Files
🤬
30 lines | ISO-8859-1 | 352 bytes

@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

Please wait...
Page is in error, reload to recover