import { TFunction } from "next-i18next"; import type { CalendarEvent } from "@calcom/types/Calendar"; import { Info } from "./Info"; const PersonInfo = ({ name = "", email = "", role = "" }) => (
{name} - {role}{" "} {email}
); export function WhoInfo(props: { calEvent: CalendarEvent; t: TFunction }) { const { t } = props; return ( {props.calEvent.attendees.map((attendee) => ( ))} } withSpacer /> ); }