Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/calendar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export interface ReactDatePickerCustomHeaderProps {
nextYearButtonDisabled: boolean;
}

type CalendarProps = React.PropsWithChildren &
type CalendarProps = React.PropsWithChildren<
Omit<
YearDropdownProps,
"date" | "onChange" | "year" | "minDate" | "maxDate"
Expand Down Expand Up @@ -205,7 +205,8 @@ type CalendarProps = React.PropsWithChildren &
} & Pick<YearDropdownProps, "maxDate" | "minDate"> &
Pick<YearProps, "maxDate" | "minDate"> &
Pick<MonthProps, "maxDate" | "minDate">)
);
)
>

interface CalendarState
extends Pick<YearProps, "selectingDate">,
Expand Down
Loading