Skip to content

Commit

Permalink
[@mantine/dates] Fix onNextDecade, onPreviousDecade and similar h…
Browse files Browse the repository at this point in the history
…andlers not working on some components (#3946)
  • Loading branch information
KilianB committed Apr 4, 2023
1 parent df7ae2e commit 8320f2f
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ export function pickCalendarProps<T extends Record<string, any>>(props: T) {
onMonthSelect,
onYearMouseEnter,
onMonthMouseEnter,
onNextMonth,
onPreviousMonth,
onNextYear,
onPreviousYear,
onNextDecade,
onPreviousDecade,
__updateDateOnYearSelect,
__updateDateOnMonthSelect,

Expand Down Expand Up @@ -68,6 +74,12 @@ export function pickCalendarProps<T extends Record<string, any>>(props: T) {
onMonthSelect,
onYearMouseEnter,
onMonthMouseEnter,
onNextMonth,
onPreviousMonth,
onNextYear,
onPreviousYear,
onNextDecade,
onPreviousDecade,
__updateDateOnYearSelect,
__updateDateOnMonthSelect,

Expand Down

0 comments on commit 8320f2f

Please sign in to comment.