Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:
import React from 'react'
import { img as image, div } from 'styleh-components'
import { GoogleLogoWrap, GoogleLogoImage } from './_elements'
// import { Image } from 'atoms'

/**
 * @todo use <Image> component
 * 'light'
 */
const googleTheme = 'on_white_hdpi'
/**
 * @api https://developers.google.com/places/web-service/policies
 * @type {Atom}
 */
class GoogleLogo extends React.Component {
  static defaultProps = {
    src: `/images/google/powered_by_google_${googleTheme}.png`,
    alt: 'google logo',
  }
  render() {
    const { src, alt } = this.props

    return (
      <GoogleLogoWrap>
        <GoogleLogoImage src={src} alt={alt} />
      </GoogleLogoWrap>
    )
  }
}

export { GoogleLogo }
export default GoogleLogo