Skip to content

Commit

Permalink
added prop
Browse files Browse the repository at this point in the history
  • Loading branch information
SemenStruchev committed Sep 18, 2024
1 parent 67bcc2a commit 7861839
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/DatePicker/DatePicker.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export const DatePicker = ({
modifiers = {},
ranges,
shouldShowRelativeRanges = false,
isFutureDatesAllowed = false,
components = {},
getTooltip,
upcomingDates,
Expand Down Expand Up @@ -300,6 +301,7 @@ export const DatePicker = ({
timezoneName={timezoneName}
onChange={handleRelativeRangeChanged}
onSubmit={onSubmitDateRange}

Check failure on line 303 in src/components/DatePicker/DatePicker.jsx

View workflow job for this annotation

GitHub Actions / View Lint Report

src/components/DatePicker/DatePicker.jsx#L303

[react/jsx-sort-props] Callbacks must be listed after all other props
isFutureDatesAllowed={isFutureDatesAllowed}
/>
</div>
</div>
Expand Down

0 comments on commit 7861839

Please sign in to comment.