diff --git a/lib/src/DateRangePicker/DateRangePickerView.tsx b/lib/src/DateRangePicker/DateRangePickerView.tsx index f0d726c63..a9d36e6d0 100644 --- a/lib/src/DateRangePicker/DateRangePickerView.tsx +++ b/lib/src/DateRangePicker/DateRangePickerView.tsx @@ -45,28 +45,30 @@ interface DateRangePickerViewProps } export const DateRangePickerView: React.FC = ({ - open, calendars = 2, + className, currentlySelectingRangeEnd, date, + DateInputProps, disableAutoMonthSwitching = false, disableFuture, disableHighlightToday, disablePast, + endText, + isMobileKeyboardViewOpen, maxDate: unparsedMaxDate = defaultMaxDate, minDate: unparsedMinDate = defaultMinDate, onDateChange, onMonthChange, + open, reduceAnimations = defaultReduceAnimations, setCurrentlySelectingRangeEnd, shouldDisableDate, - toggleMobileKeyboardView, - isMobileKeyboardViewOpen, showToolbar, startText, - endText, - className, - DateInputProps, + toggleMobileKeyboardView, + toolbarFormat, + toolbarTitle, ...other }) => { const now = useNow(); @@ -201,6 +203,8 @@ export const DateRangePickerView: React.FC = ({ setCurrentlySelectingRangeEnd={setCurrentlySelectingRangeEnd} startText={startText} endText={endText} + toolbarTitle={toolbarTitle} + toolbarFormat={toolbarFormat} /> )}