import Image from 'components/elements/Image/Image'
import React from 'react'
import styled from 'styled-components'

const logoUri = 'https://cdn.microlink.io/logo/logo.svg'

const StyledMicrolink = styled(Image.Component).withConfig({
  shouldForwardProp: prop =>
    !['isMobile', 'actively', 'event-location', 'event-name'].some(p =>
      prop.includes(p)
    )
})`
  width: inherit;
  height: inherit;
`

const Microlink = props => {
  return <StyledMicrolink alt='Microlink' src={logoUri} {...props} />
}

Microlink.logoUri = logoUri

export default Microlink
