import React from 'react'
import Link from 'gatsby-link'

const InfoBox = ({ ...props }) => (
  <div className={`${props.classes}`}>
    <h2 className={`${props.h2Classes} text-black my-2`}>{props.headline}</h2>
    <p className="text-black-light leading-normal text-lg font-light">
      {props.text}
    </p>
  </div>
)

export default InfoBox
