// @flow
import React from 'react'
import { Container, Title, Text, Link } from './Content'

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

export const ContentWrapper = ({ title, textual, linkTxt }: Props) => {
  return (
    <Container>
      <Title>{title}</Title>
      <Text>{textual}</Text>
      <Link>
        {linkTxt}
        <span />
      </Link>
    </Container>
  )
}

export default ContentWrapper
