"use client" import { Select, SvgUse } from "@ivtui/base" import clsx from "clsx" import type * as React from "react" import { DayPicker } from "react-day-picker" export type CalendarProps = React.ComponentProps function Calendar({ captionLayout = "label", className, classNames, showOutsideDays = true, ...props }: CalendarProps) { return ( { switch (orientation) { case "up": return case "down": return case "left": return default: return } }, Dropdown: ({ "aria-label": disabled, value, onChange, options }) => { return ( onChange?.({ target: { value }, } as React.ChangeEvent) } > {options?.map(option => ( {option.label} ))} ) }, }} {...props} /> ) } Calendar.displayName = "Calendar" export { Calendar }