27 lines
716 B
TypeScript
27 lines
716 B
TypeScript
import Typography from "@mui/material/Typography";
|
|
interface Props {
|
|
meetingName: string;
|
|
meetingTime: string;
|
|
meetingMembers: string
|
|
}
|
|
|
|
function Meeting(props: Props) {
|
|
return (
|
|
<div className="row meeting">
|
|
<div className="col-12">
|
|
<div className="row">
|
|
<Typography className="mylabel" sx={{ ml: 1 }}>{props.meetingName}</Typography>
|
|
</div>
|
|
<div className="row">
|
|
<Typography className="mylabel" sx={{ ml: 1 }}>{props.meetingTime}</Typography>
|
|
</div>
|
|
<div className="row">
|
|
<Typography className="mylabel" sx={{ ml: 1 }}>{props.meetingMembers}</Typography>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|
|
|
|
export default Meeting;
|