import React, { useContext } from "react"; import { SchedulerRow } from "../SchedulerRow"; import { LecturesContext } from "../../../businesslogic/LecturesProvider"; interface SchedulerEventsProps { cellTop: number; cellWidth: number; } export const SchedulerEvents = ({ cellTop, cellWidth, }: SchedulerEventsProps) => { // const handleEventClick = (e: React.MouseEvent) => { // const eventDiv = e.target as HTMLDivElement; // eventDiv.style.backgroundColor = "#1547C5"; // }; const mapGroupToEvent = () => { } const { choosenGroups } = useContext(LecturesContext); const group = {0: {id: 5, day: 4, time: "11.45", lecturer: "dr Dorota Blinkiewicz", room: "A2-3"}} console.log(choosenGroups) return (
); };