// @flow
import React from 'react'
import { Content, Title, TitleIcon, Textual } from './Content'

type Props = {
  title?: string,
  textual?: string
}

export const ContentWrapper = ({ title, textual }: Props) => {
  return (
    <Content>
      <Title>
        {title}
        <TitleIcon />
      </Title>
      <Textual>{textual}</Textual>
    </Content>
  )
}

export default ContentWrapper
