import {
  Wrapper,
  Icon,
  Title,
} from './styled'

type HeaderProps = {
  image: string,
  title: string,
}

export const Header = ({ image, title }: HeaderProps) => (
  <Wrapper>
    <Icon image={image} />
    <Title t={title} />
  </Wrapper>
)
