code: function template(
    { template, types: t },
    opts,
    { imports, componentName, props, jsx, exports },
  ) {
    const name = componentName.name.replace('Svg', '');
  
    jsx
      .openingElement
      .attributes = [
        t.jsxAttribute(
          t.jsxIdentifier('aria-label'),
          t.stringLiteral(`icon_${name}`)
        ),
        ...jsx.openingElement.attributes
      ];
  
    const titleElement = t.jsxElement(
      t.jsxOpeningElement(t.jsxIdentifier('title'), []),
      t.jsxClosingElement(t.jsxIdentifier('title')),
      [t.jsxText(`${name}`)],
    )
  
    jsx.children = [titleElement, ...jsx.children];
  
    return template.ast`
      ${imports}
      import withIcon from './withIcon';
      const ${name} = (${props}) => ${jsx}
      export default withIcon(${name});
    `
  }
docs: SVG template to use pass as a config to svgr cli tool.
  Example: npm @svgr/cli --template path/to/this/template --out-dir ./output/directory path/to/icons(s)