You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -98,6 +98,7 @@ This is the list of all the props you can pass to the component so that you can
98
98
* selectedDate: PropTypes.any - Date to be used as pre selected Date. It is internaly wrapped by `moment` so it accepts both `Date` and `moment Date`.
99
99
* onDateSelected: PropTypes.func - Function to be used as a callback when a date is selected. It returns `moment Date`
100
100
* onWeekChanged: PropTypes.func - Function to be used as a callback when a week is changed. It returns `moment Date`
101
+
* updateWeek: PropTypes.bool - (default true) Update the week view if other props change. If `false`, the week view won't change when other props change, but will still respond to left/right selectors.
101
102
* useIsoWeekday: PropTypes.bool - start week on ISO day of week (default true). If false, starts week on _startingDate_ parameter.
102
103
* minDate: PropTypes.any - minimum date that the calendar may navigate to. A week is allowed if minDate falls within the current week.
103
104
* maxDate: PropTypes.any - maximum date that the calendar may navigate to. A week is allowed if maxDate falls within the current week.
0 commit comments