import { FC } from "react";

export interface MonthTitleProps {
    month: Date;
}

export const MonthTitle:FC<MonthTitleProps> = ({month}) =>
<div className="divider text-2xl">{`${month.getFullYear()}-${month.getMonth()+1}`}</div>