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

{name}

{short}

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