Fix type for placeholder in select component (#10282)

This commit is contained in:
Thiebaud Thomas 2018-04-27 12:22:10 +02:00 committed by Wei Zhu
parent 3d079af7cd
commit a1e186b8a3

View File

@ -17,7 +17,7 @@ export interface AbstractSelectProps {
disabled?: boolean;
style?: React.CSSProperties;
tabIndex?: number;
placeholder?: string;
placeholder?: string | React.ReactNode;
defaultActiveFirstOption?: boolean;
dropdownClassName?: string;
dropdownStyle?: React.CSSProperties;