UNPKG

react-day-picker

Version:

Customizable Date Picker for React

20 lines (19 loc) 565 B
/** * Returns the next previous the user can navigate to, according to the given * options. * * Please note that the previous month is not always the previous calendar * month: * * - if before the `fromDate` date, is `undefined`; * - if the navigation is paged, is the number of months displayed before. * */ export declare function getPreviousMonth(startingMonth: Date, options: { numberOfMonths?: number; fromDate?: Date; toDate?: Date; pagedNavigation?: boolean; today?: Date; disableNavigation?: boolean; }): Date | undefined;