UNPKG

react-trip-date

Version:

date-picker and range-picker for React applications

11 lines (10 loc) 397 B
import { InitialComponents, InitialProps } from "../constant"; export type DatePickerOnChange = (days: string[]) => void; export interface DatePickerComponents extends InitialComponents { } export interface DatePickerProps extends InitialProps { numberOfSelectableDays?: number; selectedDays?: string[]; components?: DatePickerComponents; onChange: DatePickerOnChange; }