content: import React from 'react'
  import Link from '../Link'
  import css from 'cxsync'
  import * as styles from './styles'
  
  const InlineImage = ({
    src,
    alt,
    url
  }) => {
    const Tag = url ? Link : 'div'
  
    return (
      <Tag className={css(styles.wrapper)} href={url}>
        <img src={src} alt={alt} className={css(styles.image)} />
      </Tag>
    )
  }
  
  export default InlineImage
  