To test the search feature, please add and modify the following blocks of code:
{F183590}
```
let searchBar = null;
if (this.props.searchIndex) {
searchBar = (
<Search
searchText={this.state.searchText}
onChangeText={this.onChangeSearchText}
placeholder="Search chats"
/>
);
}
```
{F183591}
You will also need to import the `Search` component from `../components/search.react` at the top of the file
Once you have the `Search` component being returned you can add a new entry and test that the search feature is working as expected