code: function G(props) {
    const { x, y, ...rest } = props;
  
    if ((x || y) && !rest.translate) {
      rest.translate = `${x || 0}, ${y || 0}`;
    }
  
    return <g { ...prepare(rest) } />;
  }
docs: Return a g SVG element.
  
  @param {Object} props The properties that are spread on the SVG element.
  @returns {React.Component} G SVG.
  @public