Add missing type on react-datepicker v0.62.0

customInputRef was just introduced and is missing from
current type definitions.
This commit is contained in:
Lewis Diamond
2017-12-14 10:30:10 -05:00
parent 22f0a1d2eb
commit 4db14a2b1b
+2 -1
View File
@@ -1,4 +1,4 @@
// Type definitions for react-datepicker 0.55
// Type definitions for react-datepicker 0.62
// Project: https://github.com/Hacker0x01/react-datepicker
// Definitions by: Rajab Shakirov <https://github.com/radziksh>,
// Andrey Balokha <https://github.com/andrewBalekha>,
@@ -19,6 +19,7 @@ export interface ReactDatePickerProps {
children?: any;
className?: string;
customInput?: React.ReactNode;
customInputRef?: string;
dateFormat?: string | string[];
dateFormatCalendar?: string;
dayClassName?(date: moment.Moment): string | null;