Norse Polytheistic Mythology

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

    6.0.0 • Public • Published

    @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

    Keywords

    Install

    npm i @svgr/babel-plugin-add-jsx-attribute

    DownloadsWeekly Downloads

    5,331,751

    Version

    6.0.0

    License

    MIT

    Unpacked Size

    10.9 kB

    Total Files

    8

    Last publish

    Collaborators

    • neoziro