import React, { Component } from "react" import Modal from "react-native-modal" import PropTypes from "prop-types" import { View, Image, TouchableOpacity } from "react-native" import { Icon } from "../ui" import autobind from "autobind-decorator" export class ImageViewerModal extends Component { static propTypes = { open: PropTypes.bool, imageURL: PropTypes.string.isRequired, onDismiss: PropTypes.func, } @autobind handleButtonPress() { const { onDismiss } = this.props if (onDismiss) { onDismiss() } } render() { const { open, icon, message, detail } = this.props return ( ) } }