Skip to content

Commit

Permalink
docs(Dropdown): fix searchQuery example (#2110)
Browse files Browse the repository at this point in the history
  • Loading branch information
layershifter authored Sep 23, 2017
1 parent e056cd6 commit 10442e9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default class DropdownExampleSearchQuery extends Component {
searchQuery: '',
})

handleSearchChange = (e, searchQuery) => this.setState({ searchQuery })
handleSearchChange = (e, { searchQuery }) => this.setState({ searchQuery })

render() {
const { searchQuery, value } = this.state
Expand Down

0 comments on commit 10442e9

Please sign in to comment.