react-day-picker
Version:
Customizable Date Picker for React
11 lines (10 loc) • 414 B
TypeScript
import type { CalendarDay, CalendarMonth } from "../classes/index.js";
/**
* Returns all the days belonging to the calendar by merging the days in the
* weeks for each month.
*
* @param calendarMonths The array of calendar months.
* @returns An array of `CalendarDay` objects representing all the days in the
* calendar.
*/
export declare function getDays(calendarMonths: CalendarMonth[]): CalendarDay[];