lightfold
Version:
lightweight scaffolding and archiving utility CLI.
32 lines (24 loc) • 457 B
Markdown
# @svgr/babel-plugin-replace-jsx-attribute-value
## Install
```
npm install --save-dev @svgr/babel-plugin-replace-jsx-attribute-value
```
## Usage
**.babelrc**
```json
{
"plugins": [
[
"@svgr/babel-plugin-replace-jsx-attribute-value",
{
"values": [
{ "value": "#000", "newValue": "#fff" },
{ "value": "blue", "newValue": "props.color", "literal": true }
]
}
]
]
}
```
## License
MIT