Skip to main content

Interface: NavigationContextValue#

Represents the value of the NavigationContext.

Properties#

displayMonths#

displayMonths: Date[]

The months to display, according to numberOfMonths.


goToMonth#

goToMonth: (month: Date) => void

Navigate to the specified month.

Type declaration:#

▸ (month: Date): void

Parameters:#

NameType
monthDate

Returns: void


month#

month: Date

The current month. Note that when numberOfMonths > 1 represent the first month in the displayed months.


nextMonth#

Optional nextMonth: Date

The next month to display. undefined if no months left


previousMonth#

Optional previousMonth: Date

The previous month to display. undefined if no months left