textiput
- 如何動(dòng)態(tài)更新內(nèi)容
this.setState(
{ searchText: '' }
)
<TextInput
style={styles.searchText}
underlineColorAndroid={"transparent"}
onChangeText={this.onChangeText}
onEndEditing={this.onEndEditing}
value={this.state.searchText}
/>