mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-28 19:35:15 +00:00
457 B
457 B
@svgr/babel-plugin-replace-jsx-attribute-value
Install
npm install --save-dev @svgr/babel-plugin-replace-jsx-attribute-value
Usage
.babelrc
{
"plugins": [
[
"@svgr/babel-plugin-replace-jsx-attribute-value",
{
"values": [
{ "value": "#000", "newValue": "#fff" },
{ "value": "blue", "newValue": "props.color", "literal": true }
]
}
]
]
}
License
MIT