import React from 'react';
import Image from 'react-native-transformable-image';
import { Modal, Dimensions, View } from 'react-native'
const { width, height } = Dimensions.get('window');
export default class TestImageView extends React.Component {
render() {
return (
<Modal
animationType={"none"}
transparent={false}
visible={true}
>
<View style={{flex: 1, alignItems: 'center'}}>
<Image
style={{width: width, height: height}}
source={{ uri:'http://g.hiphotos.baidu.com/baike/pic/item/a8014c086e061d956cfdba6979f40ad162d9ca2c.jpg' }}
pixels={{width:450,height:313}}
/>
</View>
</Modal>);
}
}