From 3207264fc13c275d6dcfbd2628cc6b3974ceeaed Mon Sep 17 00:00:00 2001 From: MohamedBassem Date: Mon, 7 Apr 2025 01:03:26 +0100 Subject: feat: Allow editing bookmark details --- apps/web/components/ui/calendar.tsx | 69 +++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 apps/web/components/ui/calendar.tsx (limited to 'apps/web/components/ui') diff --git a/apps/web/components/ui/calendar.tsx b/apps/web/components/ui/calendar.tsx new file mode 100644 index 00000000..99a082f6 --- /dev/null +++ b/apps/web/components/ui/calendar.tsx @@ -0,0 +1,69 @@ +"use client"; + +import * as React from "react"; +import { buttonVariants } from "@/components/ui/button"; +import { cn } from "@/lib/utils"; +import { ChevronLeft, ChevronRight } from "lucide-react"; +import { DayPicker } from "react-day-picker"; + +export type CalendarProps = React.ComponentProps; + +function Calendar({ + className, + classNames, + showOutsideDays = true, + ...props +}: CalendarProps) { + return ( + ( + + ), + IconRight: ({ className, ...props }) => ( + + ), + }} + {...props} + /> + ); +} +Calendar.displayName = "Calendar"; + +export { Calendar }; -- cgit v1.2.3-70-g09d2