mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 12:30:18 +00:00
Added type for firstDayOfWeek prop (#20667)
This commit is contained in:
committed by
Sheetal Nandi
parent
62d716b98c
commit
37748ebb29
Vendored
+2
@@ -57,6 +57,7 @@ declare namespace ReactDates {
|
||||
withPortal?: boolean,
|
||||
withFullScreenPortal?: boolean,
|
||||
initialVisibleMonth?: () => momentPropTypes.momentObj,
|
||||
firstDayOfWeek? : 0 | 1 | 2 | 3 | 4 | 5 | 6,
|
||||
numberOfMonths?: number,
|
||||
keepOpenOnDateSelect?: boolean,
|
||||
reopenPickerOnClearDates?: boolean,
|
||||
@@ -144,6 +145,7 @@ declare namespace ReactDates {
|
||||
withPortal?: boolean,
|
||||
withFullScreenPortal?: boolean,
|
||||
initialVisibleMonth?: () => momentPropTypes.momentObj,
|
||||
firstDayOfWeek? : 0 | 1 | 2 | 3 | 4 | 5 | 6,
|
||||
numberOfMonths?: number,
|
||||
keepOpenOnDateSelect?: boolean,
|
||||
reopenPickerOnClearDates?: boolean,
|
||||
|
||||
@@ -57,6 +57,7 @@ class SingleDatePickerFullTest extends React.Component {
|
||||
onFocusChange={arg => {}}
|
||||
onNextMonthClick={e => {}}
|
||||
onPrevMonthClick={e => {}}
|
||||
firstDayOfWeek={0}
|
||||
numberOfMonths={2}
|
||||
orientation="horizontal"
|
||||
monthFormat="MM"
|
||||
@@ -109,6 +110,7 @@ class DateRangePickerFullTest extends React.Component {
|
||||
onFocusChange={arg => {}}
|
||||
onNextMonthClick={e => {}}
|
||||
onPrevMonthClick={e => {}}
|
||||
firstDayOfWeek={0}
|
||||
numberOfMonths={2}
|
||||
orientation="horizontal"
|
||||
monthFormat="MM"
|
||||
|
||||
Reference in New Issue
Block a user