UNPKG

react-day-picker

Version:

Customizable Date Picker for React

4 lines (3 loc) 233 B
import type { DateLib, DayPickerProps } from "./types/index.js"; import { Selection } from "./types/selection.js"; export declare function useSelection<T extends DayPickerProps>(props: T, dateLib: DateLib): Selection<T> | undefined;