Skip to content

Commit

Permalink
Add missing props from weekdayElement and caption Element (#842)
Browse files Browse the repository at this point in the history
* Add missing props from weekdayElement and caption Element

* Revert changes to docs
  • Loading branch information
johnjesse authored and gpbl committed Feb 21, 2019
1 parent 2e02c52 commit b0cb505
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion types/props.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export interface CaptionElementProps {
classNames: ClassNames;
localeUtils: LocaleUtils;
locale: string;
months: undefined;
months?: string[];
onClick?: React.MouseEventHandler<HTMLElement>;
}

Expand All @@ -35,6 +35,8 @@ export interface WeekdayElementProps {
className: string;
localeUtils: LocaleUtils;
locale: string;
weekdaysLong?: string[];
weekdaysShort?: string[];
}

export interface DayPickerProps {
Expand Down

0 comments on commit b0cb505

Please sign in to comment.