Skip to content

Commit 12c4d9d

Browse files
committed
refactor(types): update types with new props
1 parent 8823fb5 commit 12c4d9d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/datepicker.d.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,11 @@ export interface DatePickerProps {
8080
*/
8181
enabledDates?: string[];
8282

83+
/**
84+
* Callback function to handle when the date change events.
85+
*/
86+
onDateChange?: (event: Object) => void;
87+
8388
/**
8489
* Callback function to handle day click events.
8590
*/
@@ -106,6 +111,11 @@ export interface DatePickerProps {
106111
*/
107112
showPresets?: boolean;
108113

114+
/**
115+
* Indicates whether preset options should only be shown for range pickers.
116+
*/
117+
showPresetsOnly?: boolean;
118+
109119
/**
110120
* Indicates whether the time picker is shown in the date picker.
111121
*/

0 commit comments

Comments
 (0)