React Native 中Image 加本地图片的方法

来源:互联网 发布:软件app开发 编辑:程序博客网 时间:2024/06/05 17:48

<Image source={{uri: 'house.png'}} style={styles.image}/>



很多例子中用


<Image source={require('image!house')} style={styles.image}/>


现在不能用了。。

原因不明

0 0
原创粉丝点击