// @flow
import React from 'react'
import Image from './Image'

type Props = {
  imageUrl?: string
}

export const ImageWrapper = ({ imageUrl }: Props) => {
  return (
    <Image>
      <img src={imageUrl} alt="Icon" />
    </Image>
  )
}

export default ImageWrapper
