"use client"; import * as React from "react"; import { DayPicker } from "react-day-picker"; import dayjs from "@calcom/dayjs"; import { classNames as cn } from "@calcom/lib"; import { Icon } from "../../../index"; import { buttonClasses } from "../../button/Button"; export type CalendarProps = React.ComponentProps; function Calendar({ className, classNames, showOutsideDays = true, ...props }: CalendarProps) { return ( (
{dayjs(capLabelProps.displayMonth).format("MMMM")}{" "} {dayjs(capLabelProps.displayMonth).format("YYYY")}
), IconLeft: () => , IconRight: () => , }} {...props} /> ); } Calendar.displayName = "Calendar"; export { Calendar };