import React from 'react';
import {
Image,
ScrollView
} from 'react-native';
export default class App extends React.Component{
render(){
return (
<ScrollView>
<Image source={require('./assets/1.jpg')} />
<Image source={require('./assets/2.png')} style={{margin:10,width:192,height:108}} />
</ScrollView>
)
}
}
react native 图片组件
最新推荐文章于 2022-04-13 09:14:35 发布