PlanAlertModal.js 977 Bytes
Newer Older
Kim, Subin's avatar
Kim, Subin committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
const PlanAlertModal = ({ planId, handleClick }) => {
    return (
        <div className="modal fade" id="planmodal" data-bs-backdrop="static" data-bs-keyboard="false" tabIndex="-1" aria-labelledby="planLabel" aria-hidden="true">
            <div className="modal-dialog modal-dialog-centered">
                <div className="modal-content">
                    <div className="modal-body">
                        관련 학업계획까지 삭제됩니다.
                        정말 삭제하시겠습니까?
                    </div>
                    <div className="modal-footer p-1">
                        <button type="button" className="btn btn-secondary btn-sm" data-bs-dismiss="modal">취소</button>
                        <button type="button" className="btn btn-crimson btn-sm" onClick={() => handleClick(planId)}>삭제</button>
                    </div>
                </div>
            </div>
        </div>
    )
}

export default PlanAlertModal