mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-22 16:35:14 +00:00
505 B
505 B
@svgr/babel-plugin-add-jsx-attribute
Install
npm install --save-dev @svgr/babel-plugin-add-jsx-attribute
Usage
.babelrc
{
"plugins": [
[
"@svgr/babel-plugin-add-jsx-attribute",
{
"elements": ["svg"],
"attributes": [
{
"name": "width",
"value": "200",
"spread": false,
"literal": false,
"position": "end"
}
]
}
]
]
}
License
MIT