index.js
function Svg(props) {
  const { title, ...rest } = props;

  if (title) {
    return (
      <svg role='img' aria-label='[title]' { ...prepare(rest) }>
        <title>{ title }</title>
        { props.children }
      </svg>
    );
  }

  return <svg { ...prepare(rest) } />;
}
function Svg(props) {
  const { title, ...rest } = props;

  if (title) {
    return (
      <svg role='img' aria-label='[title]' { ...prepare(rest) }>
        <title>{ title }</title>
        { props.children }
      </svg>
    );
  }

  return <svg { ...prepare(rest) } />;
}
function Svg ( props ) { const { title , ... rest } = props ; if ( title ) { return ( < svg role = 'img' aria-label = '[title]' { ... prepare ( rest ) } > < title > { title } < / title > { props . children } < / svg > ) ; } return < svg { ... prepare ( rest ) } / > ; }
Return a SVG element.

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