fix #12498. improve autoComplete type definition

This commit is contained in:
ycjcl868 2018-10-04 09:15:29 +08:00 committed by 偏右
parent 4e3cbec038
commit 09b11b6cde

View File

@ -31,6 +31,8 @@ export interface AutoCompleteProps extends AbstractSelectProps {
optionLabelProp?: string;
onChange?: (value: SelectValue) => void;
onSelect?: (value: SelectValue, option: Object) => any;
onBlur?: () => any;
onFocus?: () => any;
children?: ValidInputElement |
React.ReactElement<OptionProps> |
Array<React.ReactElement<OptionProps>>;