Spaces:
Sleeping
Sleeping
|
Download frontend/node_modules/@svgr/babel-plugin-replace-jsx-attribute-value/README.md from sepidnes/pythonic-rag-FastAPIReact: direct link, hf CLI and curl.
- Browser
- Download file 457 Bytes
-
https://huggingface.co/spaces/sepidnes/pythonic-rag-FastAPIReact/resolve/c9f908872ebbec3c4fa1392419c0f6cd3750ddb3/frontend/node_modules/%40svgr/babel-plugin-replace-jsx-attribute-value/README.md
- Command line
-
hf download hf://spaces/sepidnes/pythonic-rag-FastAPIReact@c9f908872ebbec3c4fa1392419c0f6cd3750ddb3/frontend/node_modules/@svgr/babel-plugin-replace-jsx-attribute-value/README.md
-
curl -L -o README.md https://huggingface.co/spaces/sepidnes/pythonic-rag-FastAPIReact/resolve/c9f908872ebbec3c4fa1392419c0f6cd3750ddb3/frontend/node_modules/%40svgr/babel-plugin-replace-jsx-attribute-value/README.md
457 Bytes
| # @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 | |