Added property to react-dates

This commit is contained in:
Christian Rackerseder
2017-07-07 16:38:15 +02:00
parent 66fe42e92c
commit 43f5f4a024
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -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 <https://github.com/Artur-A>
// 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<React.MouseEvent<HTMLSpanElement>>) => void,
onNextMonthClick?: (e: React.EventHandler<React.MouseEvent<HTMLSpanElement>>) => void,
+1
View File
@@ -47,6 +47,7 @@ class SingleDatePickerFullTest extends React.Component {
keepOpenOnDateSelect={true}
navNext="next"
navPrev="prev"
hideKeyboardShortcutsPanel={true}
withPortal={false}
onDateChange={d => {}}
focused={false}