// @flow
import React from 'react'
import styled from 'styled-components'
// import theme from 'theme'

const Wrapper = styled.div`
  align-self: center;
  flex: 1 1 100%;
  margin-bottom: 20px;
`

type Props = {
  alt?: string,
  src: string
}
export const CardTitleImage = ({ src, alt }: Props) => (
  <Wrapper>
    <img src={src} alt={alt} />
  </Wrapper>
)

export default CardTitleImage
