Use consistent date definitions

This commit is contained in:
Gregor Wassmann 2021-05-14 15:33:35 +02:00
commit ccd96b45b2
4 changed files with 21 additions and 21 deletions

View file

@ -13,7 +13,7 @@ export interface DatePickerProps
* Specify the date picker input value
* @default ""
*/
value?: number | string;
value?: number | string | Date;
/**
* Specify the element to append the calendar to
@ -30,13 +30,13 @@ export interface DatePickerProps
* Specify the maximum date
* @default null
*/
maxDate?: null | string | Date;
maxDate?: null | number | string | Date;
/**
* Specify the minimum date
* @default null
*/
minDate?: null | string | Date;
minDate?: null | number | string | Date;
/**
* Specify the locale