AddplanList.js 414 Bytes
Newer Older
Kim, Subin's avatar
Kim, Subin committed
1
import PlanItem from "./PlanItem";
Choi Ga Young's avatar
Choi Ga Young committed
2
3
import styles from "./studyplan.module.scss";

Kim, Subin's avatar
Kim, Subin committed
4
const AddplanList = ({ planList }) => {
Kim, Subin's avatar
Kim, Subin committed
5
    
Choi Ga Young's avatar
Choi Ga Young committed
6
    return (
Choi Ga Young's avatar
Choi Ga Young committed
7
        <div className={`mt-4 ${styles.list}`}>
Choi Ga Young's avatar
Choi Ga Young committed
8
            <div className={`accordion accordion-flush`} id="addplanlist">
Kim, Subin's avatar
Kim, Subin committed
9
                <PlanItem planList={planList.planList} subjectId={planList.id} />
Choi Ga Young's avatar
Choi Ga Young committed
10
11
12
13
14
15
            </div>
        </div>
    )
}

export default AddplanList