Files
avz-site/node_modules/react-day-picker/dist/esm/selection/useMulti.d.ts
T
2026-05-30 19:59:39 -03:00

13 lines
578 B
TypeScript

import type { DateLib } from "../classes/DateLib.js";
import type { DayPickerProps, Selection } from "../types/index.js";
/**
* Hook to manage multiple-date selection in the DayPicker component.
*
* @template T - The type of DayPicker props.
* @param props - The DayPicker props.
* @param dateLib - The date utility library instance.
* @returns An object containing the selected dates, a function to select dates,
* and a function to check if a date is selected.
*/
export declare function useMulti<T extends DayPickerProps>(props: T, dateLib: DateLib): Selection<T>;