// @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
