diff --git a/docs/app/Examples/modules/Search/Types/SearchExampleCategory.js b/docs/app/Examples/modules/Search/Types/SearchExampleCategory.js index 6f4631c560..c8fab292ca 100644 --- a/docs/app/Examples/modules/Search/Types/SearchExampleCategory.js +++ b/docs/app/Examples/modules/Search/Types/SearchExampleCategory.js @@ -28,9 +28,9 @@ export default class SearchExampleCategory extends Component { resetComponent = () => this.setState({ isLoading: false, results: [], value: '' }) - handleResultSelect = (e, result) => this.setState({ value: result.title }) + handleResultSelect = (e, { result }) => this.setState({ value: result.title }) - handleSearchChange = (e, value) => { + handleSearchChange = (e, { value }) => { this.setState({ isLoading: true, value }) setTimeout(() => { diff --git a/docs/app/Examples/modules/Search/Types/SearchExampleCategoryCustom.js b/docs/app/Examples/modules/Search/Types/SearchExampleCategoryCustom.js index dce44da82f..8dd5b1664f 100644 --- a/docs/app/Examples/modules/Search/Types/SearchExampleCategoryCustom.js +++ b/docs/app/Examples/modules/Search/Types/SearchExampleCategoryCustom.js @@ -4,8 +4,7 @@ import { Label } from 'semantic-ui-react' import SearchExampleCategory from './SearchExampleCategory' -const categoryRenderer = ({ name }) => -