import { type NavigationContextValue } from "https://deno.land/x/netzo@0.4.72/deps/react-day-picker.ts";
Represents the value of the NavigationContext.
Properties
currentMonth: Date
The month to display in the calendar. When numberOfMonths
is greater than one, is the first of the displayed months.
displayMonths: Date[]
The months rendered by DayPicker. DayPicker can render multiple months via numberOfMonths
.
goToMonth: (month: Date) => void
Navigate to the specified month.
optional
nextMonth: DateThe next month to display.
optional
previousMonth: DateThe previous month to display.
isDateDisplayed: (day: Date) => boolean
Whether the given day is included in the displayed months.