适用于 RN 的图像查看器组件,类似于 Facebook 或 LinkedIn
ImageViewer component for RN
$ npm install --save react-native-image-fitor
$ yarn add react-native-image-fitimport { ImageViewer } from 'react-native-image-fit';
export const App = () => (
null}
onPress={(opening) => console.log(opening)}
mainImageStyle={styles.someStyle}
zoomedImageStyle={styles.zoomedImageStyle}
mainImageProps={{
resizeMode: 'contain'
}}
zoomedImageProps={{
resizeMode: 'contain'
}}
/>
)If this project was helpful to you, please
暂无开放 Issues,或尚未同步最近议题。