1 | # @svgr/babel-plugin-remove-jsx-attribute
|
2 |
|
3 | ## Install
|
4 |
|
5 | ```
|
6 | npm install --save-dev @svgr/babel-plugin-remove-jsx-attribute
|
7 | ```
|
8 |
|
9 | ## Usage
|
10 |
|
11 | **.babelrc**
|
12 |
|
13 | ```json
|
14 | {
|
15 | "plugins": [
|
16 | [
|
17 | "@svgr/babel-plugin-remove-jsx-attribute",
|
18 | {
|
19 | "elements": ["svg"],
|
20 | "attributes": ["width", "height"]
|
21 | }
|
22 | ]
|
23 | ]
|
24 | }
|
25 | ```
|
26 |
|
27 | ## License
|
28 |
|
29 | MIT
|