UNPKG

react-trip-date

Version:

Accessible, fully customizable date and range picker for React applications.

14 lines 539 B
import { InitialComponents, InitialProps } from "../constant"; export type RangePickerOnChange = (selectedDays: RangePickerSelectedDays) => void; export type RangePickerSelectedDays = { from: string; to: string; }; export type RangePickerComponents = InitialComponents; export interface RangePickerProps extends InitialProps { components?: RangePickerComponents; selectedDays?: RangePickerSelectedDays; onChange: RangePickerOnChange; allowDisabledDaysSpan?: boolean; } //# sourceMappingURL=rangePicker.type.d.ts.map