mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 11:08:45 +08:00
fix #12498. improve autoComplete type definition
This commit is contained in:
parent
4e3cbec038
commit
09b11b6cde
@ -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>>;
|
||||
|
Loading…
Reference in New Issue
Block a user