Merge pull request #15692 from slozier/patch-1

Add missing props to react-datepicker
This commit is contained in:
Ron Buckton
2017-04-06 16:16:29 -07:00
committed by GitHub

View File

@@ -16,21 +16,28 @@ declare module "react-datepicker" {
dateFormat?: string;
dateFormatCalendar?: string;
disabled?: boolean;
dropdownMode?: string;
endDate?: moment.Moment;
excludeDates?: any[];
filterDate?(): any;
fixedHeight?: boolean;
forceShowMonthNavigation?: boolean;
highlightDates?: any[];
id?: string;
includeDates?: any[];
inline?: boolean;
isClearable?: boolean;
locale?: string;
maxDate?: moment.Moment;
minDate?: moment.Moment;
monthsShown?: number;
name?: string;
onBlur?(event: React.FocusEvent<HTMLInputElement>): void;
onChange(date: moment.Moment | null, event: React.SyntheticEvent<any> | undefined): any;
onChangeRaw?(event: React.FocusEvent<HTMLInputElement>): void;
onFocus?(event: React.FocusEvent<HTMLInputElement>): void;
onMonthChange?(date: moment.Moment): void;
openToDate?: moment.Moment;
peekNextMonth?: boolean;
placeholderText?: string;
popoverAttachment?: string;