forked from wojtekmaj/react-date-picker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.d.ts
33 lines (31 loc) · 979 Bytes
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import { CalendarProps } from 'react-calendar';
declare module 'react-date-picker' {
export default function DatePicker(props: DatePickerProps): JSX.Element;
export interface DatePickerProps extends CalendarProps {
autoFocus?: boolean;
calendarAriaLabel?: string;
calendarClassName?: string | string[];
calendarIcon?: JSX.Element | null;
className?: string | string[];
clearAriaLabel?: string;
clearIcon?: JSX.Element | null;
closeCalendar?: boolean;
dayAriaLabel?: string;
dayPlaceholder?: string;
disabled?: boolean;
disableCalendar?: boolean;
format?: string;
isOpen?: boolean;
monthAriaLabel?: string;
monthPlaceholder?: string;
name?: string;
nativeInputAriaLabel?: string;
onCalendarClose?: () => void;
onCalendarOpen?: () => void;
openCalendarOnFocus?: boolean;
required?: boolean;
showLeadingZeros?: boolean;
yearAriaLabel?: string;
yearPlaceholder?: string;
}
}