kreirane komponente

This commit is contained in:
2024-01-04 10:30:43 +01:00
parent e1a225b91b
commit b653ce40bc
11 changed files with 191 additions and 99 deletions

8
app/ui/MonthTitle.tsx Normal file
View File

@@ -0,0 +1,8 @@
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>