// @flow import React from 'react'; import { View, TouchableOpacity, TouchableHighlight, Image } from 'react-native'; import { Icon } from 'react-native-material-ui'; import uiTheme from '../ui-theme'; const { imagePreview: theme } = uiTheme; const backdropStyle = { position: 'absolute', top: 0, bottom: 0, left: 0, right: 0, backgroundColor: theme.backdropColor, flexDirection: 'column', justifyContent: 'center', }; const imageStyle = { flex: 2, resizeMode: 'contain', }; const DeleteButton = ({ onPress, style }: { onPress: Function, style?: { [string]: string | number } }) => { return ( ); }; const CloseButton = ({ onPress, style }: { onPress: Function, style?: Object }) => { return ( ); }; type Props = { onClose: () => void, onDelete: () => void, imageSrc: string, }; const ImagePreviewModal = ({ onClose, onDelete, imageSrc }: Props) => { return ( ); }; ImagePreviewModal.displayName = 'ImagePreviewModal'; export default ImagePreviewModal;