import React, { ReactElement } from "react"; import styles from "./MiniEventCard.module.css"; interface EventProps { title: string; descriptionShort: string; descriptionLong: ReactElement; location: string; date: string; time: string; } const dropDownIcon = ( ); export const MiniEventCard: React.FC = ({ title, descriptionShort, descriptionLong, location, date, time, }) => { return (
event.preventDefault()}>

{title}

{location} | {date} | {time}

{descriptionShort}

View details

{descriptionLong}

); };