import React from "react"; import { getStartDayMonthAbbr, getEventStartDayString, getEventStartMonthDayString, getEventTime, } from "../../../helpers/displayEvent"; import { EventEvent } from "../../../../types/types"; import { Typography, useTheme } from "@mui/material"; import { Box } from "@mui/system"; interface Props { event: EventEvent; } const Time = (props: Props) => { const { event } = props; const theme = useTheme(); return ( {getStartDayMonthAbbr(event)} {getEventStartDayString(event)} ); }; export default Time;