Add button to clear search field (iOS)

This commit is contained in:
Rodrigo Nascimento 2017-08-10 17:31:14 -03:00
parent f80d56a53e
commit c7ed4a5fcd
1 changed files with 2 additions and 0 deletions

View File

@ -255,6 +255,8 @@ export default class RoomsListView extends React.Component {
onChangeText={this.onSearchChangeText}
returnKeyType='search'
placeholder='Search'
clearButtonMode='while-editing'
blurOnSubmit
/>
</View>
);