From 7861839bc330879c5e02f374155a026255c405bd Mon Sep 17 00:00:00 2001 From: SemenStruchev Date: Wed, 18 Sep 2024 12:21:38 +0300 Subject: [PATCH] added prop --- src/components/DatePicker/DatePicker.jsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/DatePicker/DatePicker.jsx b/src/components/DatePicker/DatePicker.jsx index 4e3efc6c0..8706f5c47 100644 --- a/src/components/DatePicker/DatePicker.jsx +++ b/src/components/DatePicker/DatePicker.jsx @@ -37,6 +37,7 @@ export const DatePicker = ({ modifiers = {}, ranges, shouldShowRelativeRanges = false, + isFutureDatesAllowed = false, components = {}, getTooltip, upcomingDates, @@ -300,6 +301,7 @@ export const DatePicker = ({ timezoneName={timezoneName} onChange={handleRelativeRangeChanged} onSubmit={onSubmitDateRange} + isFutureDatesAllowed={isFutureDatesAllowed} />