react-native-universal-image:带有渐进式加载的响应图像组件,用于响应本机

时间:2021-05-01 23:49:16
【文件属性】:
文件名称:react-native-universal-image:带有渐进式加载的响应图像组件,用于响应本机
文件大小:211KB
文件格式:ZIP
更新时间:2021-05-01 23:49:16
JavaScript 通用图片 具有自动加载的自动调整大小的图像组件,以进行本机React。 调整其大小以包含图像的图像组件。 逐步加载具有模糊效果和微调器覆盖的图像。 注意:要自动调整大小,请确保缩略图与原始图像的纵横比相同。 安装 由于该库是基于JS的解决方案,因此只需运行以下命令即可安装最新版本的react-native-universal-image: yarn add react-native-universal-image 或者 npm install --save react-native-universal-image 用例 渲染尺寸可变的远程图像。 建立提要/时间线屏幕? 利用性能良好的用户界面的渐进式加载。 是否在寻找像动画这样的instagram图像? 默认调整大小模式(覆盖/包含)不提供您想要的内容吗? 用法 import UniversalImage from 'rea
【文件预览】:
react-native-universal-image-master
----.gitignore(596B)
----.babelrc(33B)
----package.json(989B)
----package-lock.json(27KB)
----index.js(5KB)
----README.md(3KB)
----example()
--------.gitignore(793B)
--------.babelrc(34B)
--------.flowconfig(2KB)
--------package.json(496B)
--------.buckconfig(114B)
--------android()
--------.watchmanconfig(2B)
--------ios()
--------index.js(179B)
--------App.js(2KB)
--------.gitattributes(16B)
--------app.json(51B)
--------yarn.lock(190KB)

网友评论