site/components/case-study-section/index.js
// @flow
import * as React from 'react';
import styles from './style.css';
type CaseStudySectionProps = {
title?: string,
children?: React.Node,
};
const CaseStudySection = ({ title, children }: CaseStudySectionProps) => (
<div className={styles.content}>
<div className={styles.content__wrapper}>
{title && <h3>{title}</h3>}
{children}
</div>
</div>
);
export default CaseStudySection;