Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

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

Full-stack Deno framework for building business web apps like internal tools, dashboards, admin panels and automated workflows.
Go to Latest
interface NavigationContextValue
import { type NavigationContextValue } from "https://deno.land/x/netzo@0.5.67/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.