Skip to content

Commit 87a4ca3

Browse files
committed
Bumps to v2.15.0
1 parent 49de8cf commit 87a4ca3

7 files changed

+414
-679
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
Changelog
22
=========
3+
## 2.15.0
4+
* New `onNavigateBack` and `onNavigateForward` hooks thanks to @DaanDD and @simeg.
5+
* Touch improvements by @NicoDos
6+
* TS and debugging improvements
7+
38
## 2.14.0
49
* Make `viewDate` dynamic
510

DateTime.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ declare namespace ReactDatetimeClass {
8181
only parameter, if the date in the input is valid. If the date in the input is not valid, the
8282
callback receives the value of the input (a string).
8383
*/
84-
onChange?: EventOrValueHandler<ChangeEvent<any>>;
84+
onChange?: (value: Moment | string) => void;
8585
/*
8686
Callback trigger for when the user opens the datepicker.
8787
*/

0 commit comments

Comments
 (0)