index.js
function G(props) {
  const { x, y, ...rest } = props;

  if ((x || y) && !rest.translate) {
    rest.translate = `${x || 0}, ${y || 0}`;
  }

  return <g { ...prepare(rest) } />;
}
function G(props) {
  const { x, y, ...rest } = props;

  if ((x || y) && !rest.translate) {
    rest.translate = `${x || 0}, ${y || 0}`;
  }

  return <g { ...prepare(rest) } />;
}
function G ( props ) { const { x , y , ... rest } = props ; if ( ( x || y ) && ! rest . translate ) { rest . translate = ` ${ x || 0 } ${ y || 0 } ` ; } return < g { ... prepare ( rest ) } / > ; }
Return a g SVG element.

@param {Object} props The properties that are spread on the SVG element.
@returns {React.Component} G SVG.
@public
Return a g SVG element .