1.1.0 • Published 4 years ago
@heytea/react-native-photo-view v1.1.0
react-native-photo-view
Getting started
$ npm install @heytea/react-native-photo-view --save
Mostly automatic installation
$ react-native link @heytea/react-native-photo-view
Usage
import ReactNativePhotoView from '@heytea/react-native-photo-view';
// 预览图片
ReactNativePhotoView.previewImage({
urls: ['http://test.cdn.heytea.com/storage/common/2020/07/07/2331c149e6684f26a38fb2ab1251967b.png', 'http://test.cdn.heytea.com/storage/common/2020/07/07/2331c149e6684f26a38fb2ab1251967b.png'],
current: 'http://test.cdn.heytea.com/storage/common/2020/07/07/2331c149e6684f26a38fb2ab1251967b.png',
})