react-day-picker
Version:
Customizable Date Picker for React
6 lines (5 loc) • 532 B
TypeScript
import { CalendarDay } from "../classes/index.js";
import type { DateLib, DayPickerProps, MoveFocusBy, MoveFocusDir } from "../types/index.js";
export declare function getNextFocus(moveBy: MoveFocusBy, moveDir: MoveFocusDir,
/** The date that is currently focused. */
refDay: CalendarDay, calendarStartMonth: Date | undefined, calendarEndMonth: Date | undefined, props: Pick<DayPickerProps, "disabled" | "hidden" | "modifiers" | "locale" | "ISOWeek" | "weekStartsOn">, dateLib: DateLib, attempt?: number): CalendarDay | undefined;