图片浏览在手机端,通常需要点击放大,滑动展示的功能,通过一行代码,即可实现
import Images from "@dplus/images";
const images = [
"https://images.unsplash.com/photo-1571501679680-de32f1e7aad4",
"https://images.unsplash.com/photo-1573273787173-0eb81a833b34",
"https://images.unsplash.com/photo-1569569970363-df7b6160d111"
];
<ImageView
data={images}
/>
效果图如下
react native 性能调优,欢迎留言咨询