diff --git a/types/react-dates/index.d.ts b/types/react-dates/index.d.ts index d88094e67c..abc0de7498 100644 --- a/types/react-dates/index.d.ts +++ b/types/react-dates/index.d.ts @@ -146,6 +146,9 @@ declare namespace ReactDates { customInputIcon?: string | JSX.Element, noBorder?: boolean, block?: boolean, + small?: boolean, + regular?: boolean, + keepFocusOnInput?: boolean, // calendar presentation and interaction related props renderMonth?: (day: momentPropTypes.momentObj) => (string | JSX.Element), @@ -163,7 +166,8 @@ declare namespace ReactDates { hideKeyboardShortcutsPanel?: boolean, daySize?: number, isRTL?: boolean, - verticalSpacing?: number, + verticalSpacing?: number, + verticalHeight?: number| null, // navigation related props navPrev?: string | JSX.Element, diff --git a/types/react-dates/react-dates-tests.tsx b/types/react-dates/react-dates-tests.tsx index 87a1794fb8..3a95453a78 100644 --- a/types/react-dates/react-dates-tests.tsx +++ b/types/react-dates/react-dates-tests.tsx @@ -65,6 +65,8 @@ class SingleDatePickerFullTest extends React.Component { monthFormat="MM" renderDayContents={day => day.toString()} verticalSpacing={4} + keepFocusOnInput={true} + verticalHeight={5} /> } }