import React from "react"; import "./index.scss"; import Class, { Group } from "../Class"; import BusinessLogicContext from "../../businesslogic/BusinessLogicContext"; import { BuisnessProvided } from "../../businesslogic/BusinessLogicProvider"; interface RightBarProps { onClassHover: (group_id: String, class_id: String) => void; onClassClick: (group_id: String, class_id: String) => void; lectures: Array; } interface RightBarState {} export default class RightBar extends React.Component< RightBarProps, RightBarState > { render() { return (
{(context) => (

{JSON.stringify( (context as BuisnessProvided).states.user ?.ticket )}

)}

Semestr zimowy 2020/2021

{this.props.lectures.map((classgroup, index) => ( ))}
); } }