text: import React from "react";
  import { Modal, View, Image, Text, StyleSheet } from "react-native";
  
  const PublisherModal = props => (
    <Modal
      visible={props.display}
      animationType="slide"
      onRequestClose={() => console.log("closed")}
    >
      >
      <View>
        <Image source={props.image} style={styles.image} />
        <Text style={styles.text}>{props.data}</Text>
      </View>
    </Modal>
  );
  
  const styles = StyleSheet.create({
    image: {
      marginTop: 20,
      marginLeft: 90,
      height: 200,
      width: 200
    },
    text: {
      fontSize: 20,
      marginLeft: 150
    }
  });
  
  export default PublisherModal;
  