import { Link } from "react-router-dom"; import PlanLineList from "./PlanLineList"; import style from "./studyplan.module.scss"; const StudyPlanCard = ({ renList, handleClick, handleEdit }) => { return (
{renList.name}
handleClick(e, renList.id)}>

{renList.prof && renList.room ? renList.prof + ' - ' + renList.room : (renList.prof || renList.room)}

) } export default StudyPlanCard;