Skip to content

Commit

Permalink
Merge pull request #3959 from Royal-Navy/feat/date-picker-refactor
Browse files Browse the repository at this point in the history
refactor(DatePicker): Break up, extract handlers, consolidate state
  • Loading branch information
m7kvqbe1 authored Nov 8, 2024
2 parents 84aa556 + 349a5b5 commit 953f079
Show file tree
Hide file tree
Showing 7 changed files with 636 additions and 359 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import {
interface CalendarNavigationProps {
month: Date
onMonthChange: (increment: number) => void
onMonthPickerClick: () => void
onYearPickerClick: () => void
onMonthPickerClick: (event: React.MouseEvent<HTMLButtonElement>) => void
onYearPickerClick: (event: React.MouseEvent<HTMLButtonElement>) => void
}

export const CalendarNavigation = ({
Expand Down
Loading

0 comments on commit 953f079

Please sign in to comment.