docs: Fix autoComplete demo (#20964)

This commit is contained in:
二货机器人 2020-01-17 12:09:41 +08:00 committed by GitHub
parent 4c9535d0f0
commit f8001a8048
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,7 +50,7 @@ class Complete extends React.Component {
return ( return (
<div> <div>
<AutoComplete <AutoComplete
options={[]} options={options}
style={{ width: 200 }} style={{ width: 200 }}
onSelect={onSelect} onSelect={onSelect}
onSearch={this.onSearch} onSearch={this.onSearch}