import { Box, List, ListItem, ListItemIcon, ListItemText, Typography, } from "@mui/material"; import React from "react"; import PersonOutlineIcon from "@mui/icons-material/PersonOutline"; import DetailedMeeting from "../../../api-bodies/DetailedMeeting"; import { useAppSelector } from "../../../redux/hooks"; import { selectUsers } from "../../../redux/slices/usersSlice"; import { getMeetingStatus } from "../Utils"; import UserLite from "../../../api-bodies/UserLite"; interface Props { meeting: DetailedMeeting; } const Body: React.FC = (props) => { const registrants: UserLite[] = useAppSelector((state) => selectUsers(state, props.meeting.registrantIds) ); return ( Feb 10, 2022 10:45 am - 11:00 am Status: {getMeetingStatus(props.meeting)} Topic: Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industrys standard dummy text ever since the 1500s. Topic: Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industrys standard dummy text ever since the 1500s. {registrants.map((registrant, i) => ( ))} ); }; export default Body;