import { Box, Button, List, Typography } from "@mui/material"; import React from "react"; import ContactInfo from "../../ContactInfo"; const meetings: { name: string; duration: string }[] = [ { name: "Kanban Meeting", duration: "10:45 am - 11:45 am" }, { name: "Design Meeting", duration: "10:45 am - 11:45 am" }, { name: "Customer Meeting", duration: "10:45 am - 11:45 am" }, { name: "Some kind of Meeting", duration: "10:45 am - 11:45 am" }, { name: "Some kind of Meeting", duration: "10:45 am - 11:45 am" }, ]; interface Props { contactInfo: ContactInfo; setMeetingInfoOpen: (open: boolean) => void; } const LowerBody: React.FC = (props) => { return ( Upcoming meetings {meetings.map((meeting, i) => ( {meeting.duration} ))} ); }; export default LowerBody;