import React, { FunctionComponent } from "react";
import { SectionTitle } from "../../../components/section-title";

type Props = { title: string };

export const ResumeList: FunctionComponent<Props> = ({ title, children }) => {
  return (
    <div className="resume-info">
      <SectionTitle>{title}</SectionTitle>
      <ul>{children}</ul>
    </div>
  );
};
