import React, { ReactNode } from "react"; import { EventSetting } from "./EventSetting"; import { Link } from "./Link"; import styles from "./MiniEventCard.module.css"; interface MiniEventCardProps { name: string; description: ReactNode; short: string; online: boolean; location: string; date: Date; year: string; term: string; slug: string; } export const MiniEventCard: React.FC = ({ name, short, description, location, date, online, year, term, slug, }) => { return (
event.preventDefault()}>

{name}

{short}

View details {dropDownIcon}
{description}
); }; const dropDownIcon = ( );