diff --git a/types/Props.d.ts b/types/Props.d.ts index f8fcd45ab3..483fd7fa99 100644 --- a/types/Props.d.ts +++ b/types/Props.d.ts @@ -44,7 +44,7 @@ export interface DayPickerProps { captionElement?: | React.ReactElement> | React.ComponentClass - | React.SFC; + | React.FunctionComponent; className?: string; classNames?: ClassNames; containerProps?: React.DetailedHTMLProps< @@ -69,7 +69,7 @@ export interface DayPickerProps { navbarElement?: | React.ReactElement> | React.ComponentClass - | React.SFC; + | React.FunctionComponent; numberOfMonths?: number; onBlur?: (e: React.FocusEvent) => void; onCaptionClick?: (month: Date, e: React.MouseEvent) => void; @@ -142,7 +142,7 @@ export interface DayPickerProps { weekdayElement?: | React.ReactElement> | React.ComponentClass - | React.SFC; + | React.FunctionComponent; weekdaysLong?: string[]; weekdaysShort?: string[]; tabIndex?: number;