work on bill tracker page. add calendar.

This commit is contained in:
2024-08-31 19:45:24 -05:00
parent 52b8a4c1cb
commit 91b947c608
9 changed files with 164 additions and 6 deletions

View File

@@ -0,0 +1,18 @@
"use client"
import * as React from "react"
import { Calendar } from "~/components/ui/BillTrackerCalendar"
export default function BillTrackerCalendar() {
const [date, setDate] = React.useState<Date | undefined>(new Date())
return (
<div className="m-auto p-2">
<Calendar
mode="single"
selected={date}
onSelect={setDate}
className="rounded-md border m-auto"
/>
</div>
)
}