import React from "react";
import "./Event.css";
function Event(props) {
return (
<div className="eventDiv">
{props.data.picUrl? <img className="eventPic" src={props.data.picUrl}></img> : JSON.stringify(props.data)}
</div>
);
}
export default Event;