From 43f5f4a024d4ee94b8692f60d34643697f515a87 Mon Sep 17 00:00:00 2001 From: Christian Rackerseder Date: Fri, 7 Jul 2017 16:38:07 +0200 Subject: [PATCH] Added property to react-dates --- types/react-dates/index.d.ts | 3 ++- types/react-dates/react-dates-tests.tsx | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/types/react-dates/index.d.ts b/types/react-dates/index.d.ts index d290c84995..c3559f5278 100644 --- a/types/react-dates/index.d.ts +++ b/types/react-dates/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for react-dates v12.1.0 +// Type definitions for react-dates v12.1.1 // Project: https://github.com/airbnb/react-dates // Definitions by: Artur Ampilogov // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -226,6 +226,7 @@ declare namespace ReactDates { // navigation related props navPrev?: string | JSX.Element, navNext?: string | JSX.Element, + hideKeyboardShortcutsPanel?: boolean; onPrevMonthClick?: (e: React.EventHandler>) => void, onNextMonthClick?: (e: React.EventHandler>) => void, diff --git a/types/react-dates/react-dates-tests.tsx b/types/react-dates/react-dates-tests.tsx index d8d6691b45..c775480a2f 100644 --- a/types/react-dates/react-dates-tests.tsx +++ b/types/react-dates/react-dates-tests.tsx @@ -47,6 +47,7 @@ class SingleDatePickerFullTest extends React.Component { keepOpenOnDateSelect={true} navNext="next" navPrev="prev" + hideKeyboardShortcutsPanel={true} withPortal={false} onDateChange={d => {}} focused={false}