reset to original

This commit is contained in:
Tyler Haas
2018-12-17 11:29:20 -07:00
parent e048f314b6
commit f608fd6e8b
+2 -6
View File
@@ -19,10 +19,6 @@ export function registerLocale(localeName: string, localeData: {}): void;
export function setDefaultLocale(localeName: string): void;
export function getDefaultLocale(): string;
interface HighlightDates {
[className: string]: Date[];
}
export interface ReactDatePickerProps {
adjustDateOnChange?: boolean;
allowSameDay?: boolean;
@@ -49,7 +45,7 @@ export interface ReactDatePickerProps {
forceShowMonthNavigation?: boolean;
formatWeekDay?(date: Date): string;
formatWeekNumber?(date: Date): string | number;
highlightDates?: Array<(Date|HighlightDates)>;
highlightDates?: Date[];
id?: string;
includeDates?: Date[];
includeTimes?: Date[];
@@ -70,7 +66,7 @@ export interface ReactDatePickerProps {
onClickOutside?(event: React.MouseEvent<HTMLDivElement>): void;
onFocus?(event: React.FocusEvent<HTMLInputElement>): void;
onInputClick?(): void;
onInputError?(err: {code: number; msg: string}): void;
onInputError?(err: {code: number; msg: string}): void;
onKeyDown?(event: React.KeyboardEvent<HTMLDivElement>): void;
onMonthChange?(date: Date): void;
onSelect?(date: Date, event: React.SyntheticEvent<any> | undefined): void;