@svgr/babel-plugin-replace-jsx-attribute-value
    TypeScript icon, indicating that this package has built-in type declarations

    6.0.0 • Public • Published

    @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

    Keywords

    Install

    npm i @svgr/babel-plugin-replace-jsx-attribute-value

    DownloadsWeekly Downloads

    4,311,238

    Version

    6.0.0

    License

    MIT

    Unpacked Size

    6.35 kB

    Total Files

    6

    Last publish

    Collaborators

    • neoziro