Files
Andy Hanson 89fa98a712 WIP
WIP

WIP

WIP

WIP

WIP

WIP: Remove trailing newlines

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP: All tests pass

WIP

WIP

WIP
2016-11-28 11:16:06 -08:00

57 lines
1.8 KiB
TypeScript

// Type definitions for react-datepicker v0.28.1
// Project: https://github.com/Hacker0x01/react-datepicker
// Definitions by: Rajab Shakirov <https://github.com/radziksh>, Andrey Balokha <https://github.com/andrewBalekha>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="react"/>
declare module "react-datepicker" {
interface ReactDatePickerProps {
autoComplete?: string;
autoFocus?: boolean;
className?: string;
customInput?: React.ReactNode;
dateFormat?: string;
dateFormatCalendar?: string;
disabled?: boolean;
endDate?: {};
excludeDates?: any[];
filterDate?(): any;
fixedHeight?: boolean;
id?: string;
includeDates?: any[];
isClearable?: boolean;
locale?: string;
maxDate?: {};
minDate?: {};
name?: string;
onBlur?(): any;
onChange(): any;
onChange(date?: any): any;
onFocus?(): any;
peekNextMonth?: boolean;
placeholderText?: string;
popoverAttachment?: string;
popoverTargetAttachment?: string;
popoverTargetOffset?: string;
readOnly?: boolean;
renderCalendarTo?: any;
required?: boolean;
scrollableYearDropdown?: boolean;
selected?: {};
selectsEnd?: boolean;
selectsStart?: boolean;
showMonthDropdown?: boolean;
showYearDropdown?: boolean;
showWeekNumbers?: boolean;
startDate?: {};
tabIndex?: number;
tetherConstraints?: any[];
title?: string;
todayButton?: string;
utcOffset?: number;
}
let ReactDatePicker: React.ClassicComponentClass<ReactDatePickerProps>;
export = ReactDatePicker;
}