From b0cb5053530d1512dff0ed7880cd860aefb8d3ba Mon Sep 17 00:00:00 2001 From: johnjessewood Date: Thu, 21 Feb 2019 06:31:48 +0000 Subject: [PATCH] Add missing props from weekdayElement and caption Element (#842) * Add missing props from weekdayElement and caption Element * Revert changes to docs --- types/props.d.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 {