import { Link } from "react-router-dom"; import styles from "../Form/form.module.scss"; const StudyPlanCard = ({ renList }) => { console.log('props 확인', renList) return (
{renList.name}

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

{renList.planList.length !== 0 ? renList.planList.map((info, idx) => <>

- {info.title}

- {info.title}

- {info.title}

) :

새로운 계획 추가하기

}
) } export default StudyPlanCard;