import Text from 'react-native-text'
....
....
<Text ref={component => this.labelRef = component}>文本</Text>
...
this.labelRef.setText("更改")
hetian9288 / react-native-text Goto Github PK
View Code? Open in Web Editor NEWreact-native Text 组件添加setText方法
License: Apache License 2.0