react native image fit:用于RN的Image Viewer组件类似于Facebook或LinkedIn 源码
React本机图像拟合 RN的ImageViewer组件 安装 $ npm install --save react-native-image-fit 或者 $ yarn add react-native-image-fit 用法 import { ImageViewer } from 'react-native-image-fit' ; export const App = ( ) => ( < ImageViewer disabled = { false } // by default source = { require ( './photo.png' ) } // or { url: 'https://...' } doubleTapEnabled = { true } // by default double tap will zoom image
文件列表
react-native-image-fit-master.zip
(预估有个9文件)
react-native-image-fit-master
index.js
36B
package.json
594B
LICENSE
1KB
.DS_Store
6KB
.gitignore
578B
lib
utils.js
1KB
index.js
44B
ImageViewer.js
9KB
暂无评论