An exquisite React photo preview component. Latest version: 1.2.7, last published: a month ago. Start using react-photo-view in your project by running `npm i react-photo-view`. There are 79 other projects in the npm registry using react-photo-view.
残阳如血将npm的徽章的方块属性去掉,与右边两个徽章样式相同,更美观。b3a83265年前 113 次提交 提交取消 提示:由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件 example example: fullScreen 5年前 src feat: 支持自定义工具栏、旋转 API ...
npm install reactphotoview 安装完成后,您便可以开始在您的React组件中使用该库。 第二步:导入reactphotoview 在使用reactphotoview之前,您需要在您的组件文件中导入它。打开React组件文件,并在开头添加以下代码: javascript import React from 'react'; import { PhotoView } from 'reactphotoview'; 这将导入react...
缩放单张图片,支持手势和双击 npm install --save react-native-photo-view rnpm link react-native-photo-view /** * Created by mymac on 2017/9/13. */ /** * Sample React Native App * https://github.com/facebook/react-native * @flow */ import React, { Component } from 'react'; ...
.npmignore config Apr 7, 2019 .prettierrc fixMinJieLiu#3 Mar 8, 2020 .travis.yml upgrade Nov 6, 2019 LICENSE init Jul 13, 2018 README.md md Dec 18, 2019 package.json feat: add arrow icon Mar 9, 2020 rollup.config.js use-less ...
npm install --save react-native-photo-view react-native link react-native-photo-view Manual installation Android Add these lines to android/settings.gradle include ':react-native-photo-view' project(':react-native-photo-view').projectDir = new File(rootProject.projectDir, '../node_modules/rea...
Search results Sign UpSign In react-view-photo-gallery A react library helpful render photos in awesome gallery. tronghieu60s •1.2.1•2 years ago•0dependents•MITpublished version1.2.1,2 years ago0dependentslicensed under $MIT 21...
一款精致的React的图片预览组件 Demo:https://minjieliu.github.io/react-photo-view 特性 支持左右切换导航、上/下滑关闭、双击放大/缩小、双指放大/缩小/平移、键盘导航/关闭、旋转、点击切换控件等 打开/关闭缩放动画 自适应图像适应 长图模式 支持桌面端(兼容 IE10+)/移动端 ...
只需两个简单的步骤: npm install --save react-native-photo-view rnpm link react-native-photo-view Manual installation Add these lines toandroid/settings.gradle include ':react-native-photo-view' project(':react-native-photo-view').projectDir = new File(rootProject.projectDir, '../node_modules...
Merge pull request #35 from MinJieLiu/dependabot/npm_and_yarn/example… … MinJieLiu committed Sep 14, 2020 Verified 484169b Commits on Sep 12, 2020 Bump node-fetch from 2.6.0 to 2.6.1 in /example … dependabot committed Sep 12, 2020 Verified 89d64b6 ...