Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/netzo/deps/react-day-picker.ts>NavigationContextValue

Deno-powered framework for building business web apps
Go to Latest
interface NavigationContextValue
import { type NavigationContextValue } from "https://deno.land/x/netzo@0.3.91/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.

goToDate: (date: Date, refDate?: Date) => void

Navigate to the specified date.

optional
nextMonth: Date

The next month to display.

optional
previousMonth: Date

The previous month to display.

isDateDisplayed: (day: Date) => boolean

Whether the given day is included in the displayed months.