import { Link } from "react-router-dom"; import PlanLineList from "./PlanLineList"; const StudyPlanCard = ({ renList }) => { return (
{renList.name}

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

) } export default StudyPlanCard;