text: /* @flow */
  import React from 'react';
  import Icon from '../Icon';
  
  type Props = {
    href: ?String,
    size: Number,
  };
  
  const Google = (props: Props) => {
    if (props.href) {
      return (
        <a href={ props.href } target="_blank">
          <Icon kind="google" color="#1c3050" size={ props.size } />
        </a>
      );
    } else {
      return (
        <Icon kind="google" color="#1c3050" size={ props.size } />
      );
    }
  };
  
  Google.defaultProps = {
    size: 24,
  };
  export default Google;
  