Skip to content

Commit 0787dc1

Browse files
committed
Adds closeOnTab to the type definitions
1 parent 34975c9 commit 0787dc1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

react-datetime.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,10 @@ declare module ReactDatetime {
167167
Whether to use moment's strict parsing when parsing input.
168168
*/
169169
strictParsing?: boolean;
170+
/*
171+
When true and the input is focused, pressing the tab key will close the datepicker.
172+
*/
173+
closeOnTab?: boolean;
170174
/*
171175
When true, once the day has been selected, the react-datetime will be automatically closed.
172176
*/

0 commit comments

Comments
 (0)