textiput
- 如何动态更新内容
this.setState(
{ searchText: '' }
)
<TextInput
style={styles.searchText}
underlineColorAndroid={"transparent"}
onChangeText={this.onChangeText}
onEndEditing={this.onEndEditing}
value={this.state.searchText}
/>