kreirane komponente
This commit is contained in:
8
app/ui/MonthTitle.tsx
Normal file
8
app/ui/MonthTitle.tsx
Normal 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>
|
||||
Reference in New Issue
Block a user