mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-06 13:11:46 +00:00
[react-datepicker] updated typings for 1.1.0 (#23247)
This commit is contained in:
committed by
Sheetal Nandi
parent
a28ebd0744
commit
71d5025d76
Vendored
+5
-1
@@ -1,4 +1,4 @@
|
||||
// Type definitions for react-datepicker 1.0
|
||||
// Type definitions for react-datepicker 1.1
|
||||
// Project: https://github.com/Hacker0x01/react-datepicker
|
||||
// Definitions by: Rajab Shakirov <https://github.com/radziksh>,
|
||||
// Andrey Balokha <https://github.com/andrewBalekha>,
|
||||
@@ -37,6 +37,7 @@ export interface ReactDatePickerProps {
|
||||
highlightDates?: any[];
|
||||
id?: string;
|
||||
includeDates?: any[];
|
||||
includeTimes?: any[];
|
||||
inline?: boolean;
|
||||
isClearable?: boolean;
|
||||
locale?: string;
|
||||
@@ -64,10 +65,13 @@ export interface ReactDatePickerProps {
|
||||
readOnly?: boolean;
|
||||
required?: boolean;
|
||||
scrollableYearDropdown?: boolean;
|
||||
scrollableMonthYearDropdown?: boolean;
|
||||
selected?: moment.Moment | null;
|
||||
selectsEnd?: boolean;
|
||||
selectsStart?: boolean;
|
||||
showDisabledMonthNavigation?: boolean;
|
||||
showMonthDropdown?: boolean;
|
||||
showMonthYearDropdown?: boolean;
|
||||
showWeekNumbers?: boolean;
|
||||
showYearDropdown?: boolean;
|
||||
startDate?: moment.Moment;
|
||||
|
||||
Reference in New Issue
Block a user