import React from "react";

import "./section.style.scss";

const MidSection = (props) => {
  return (
    <section className="container content" id={props.id}>
      {props.title ? <h2>{props.title}</h2> : null}
      {props.children}
    </section>
  );
};

export default MidSection;
