import React, { useContext } from 'react'; import { SchedulerRow } from './SchedulerRow'; import { coursesContext } from '../contexts/CoursesProvider'; import { selectGroupsToShow } from '../utils/index'; import { ROWS_COUNT } from '../constants'; import { SchedulerEvent } from '../types'; interface SchedulerEventsProps { cellWidth: number; cellHeight: number; schedulerEvents: Array; } export const SchedulerEvents = ({ cellWidth, cellHeight,schedulerEvents }: SchedulerEventsProps) => { return (
{[...Array(ROWS_COUNT)].map((_, index) => ( ))}
); };