文件名称:react-native-image-fit:用于RN的Image Viewer组件,类似于Facebook或LinkedIn
文件大小:7KB
文件格式:ZIP
更新时间:2024-03-18 01:13:44
react react-native image-viewer imageviewer-component JavaScript
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
----index.js(36B)
----package.json(594B)
----LICENSE(1KB)
----.DS_Store(6KB)
----.gitignore(578B)
----lib()
--------utils.js(1KB)
--------index.js(44B)
--------ImageViewer.js(9KB)
----README.md(1KB)