From 4db14a2b1bc0df16534d2a05931ff1980aaf83f6 Mon Sep 17 00:00:00 2001 From: Lewis Diamond Date: Thu, 14 Dec 2017 10:17:08 -0500 Subject: [PATCH] Add missing type on react-datepicker v0.62.0 customInputRef was just introduced and is missing from current type definitions. --- types/react-datepicker/index.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/types/react-datepicker/index.d.ts b/types/react-datepicker/index.d.ts index 2a7ed3ceb6..e6cf11d121 100644 --- a/types/react-datepicker/index.d.ts +++ b/types/react-datepicker/index.d.ts @@ -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 , // Andrey Balokha , @@ -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;