diff --git a/types/props.d.ts b/types/props.d.ts index be5bebd904..9249fbdf38 100644 --- a/types/props.d.ts +++ b/types/props.d.ts @@ -10,7 +10,7 @@ export interface CaptionElementProps { classNames: ClassNames; localeUtils: LocaleUtils; locale: string; - months: undefined; + months?: string[]; onClick?: React.MouseEventHandler; } @@ -35,6 +35,8 @@ export interface WeekdayElementProps { className: string; localeUtils: LocaleUtils; locale: string; + weekdaysLong?: string[]; + weekdaysShort?: string[]; } export interface DayPickerProps {