有人可能想要实现richtext编辑或richtext视图. 在html中我们可以使用内联图像标记来完成,但是本机反应文本只能在其中嵌套文本. 这是一个保留样式的解决方法 View style={{flexDirection:'row',
在html中我们可以使用内联图像标记来完成,但是本机反应文本只能在其中嵌套文本. 这是一个保留样式的解决方法
<View style={{flexDirection:'row', flexWrap:'wrap'}}>
<Image
style={styles.img}
source={{uri: imageLink}} />
<Text>
{"sweet, this works"}
</Text>
</View>
