mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 14:57:10 +00:00
add defaultCurrentDate
This commit is contained in:
+4
@@ -31,6 +31,10 @@ interface DateTimePickerProps extends React.Props<DateTimePickerClass> {
|
||||
* @default Date()
|
||||
*/
|
||||
currentDate?: Date;
|
||||
/*
|
||||
* Default value for current date. Usefull for suggesting a date when the caldenar opens without keep forcing it once 'value' is set.
|
||||
*/
|
||||
defaultCurrentDate?: Date
|
||||
/**
|
||||
* Change event Handler that is called when the currentDate is changed. The handler is
|
||||
* called with the currentDate object.
|
||||
|
||||
Reference in New Issue
Block a user