Skip to content

Commit

Permalink
[@mantine/dates] DatePickerInput: Fix highlightToday not working (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
rtivital committed Jun 28, 2024
1 parent 0f66e88 commit 1c1097a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export function pickCalendarProps<T extends Record<string, any>>(props: T) {
onNextDecade,
onPreviousDecade,
withCellSpacing,
highlightToday,
__updateDateOnYearSelect,
__updateDateOnMonthSelect,

Expand Down Expand Up @@ -86,6 +87,7 @@ export function pickCalendarProps<T extends Record<string, any>>(props: T) {
onNextDecade,
onPreviousDecade,
withCellSpacing,
highlightToday,
__updateDateOnYearSelect,
__updateDateOnMonthSelect,

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export function Usage() {
placeholder="Date picker input"
// eslint-disable-next-line no-console
popoverProps={{ onClose: () => console.log('close') }}
highlightToday
/>
</div>
);
Expand Down

0 comments on commit 1c1097a

Please sign in to comment.