diff --git a/frontend/src/components/QuizForm/QuizCard.jsx b/frontend/src/components/QuizForm/QuizCard.jsx index 19a43b8..8127169 100644 --- a/frontend/src/components/QuizForm/QuizCard.jsx +++ b/frontend/src/components/QuizForm/QuizCard.jsx @@ -1,5 +1,7 @@ import { useState } from 'react'; import styles from './QuizCard.module.css'; +import CloseIcon from '/src/assets/icons/close.svg?react'; +import PlusIcon from '/src/assets/icons/plus.svg?react'; export default function QuizCard({ quiz, updateQuiz, deleteQuiz }) { // TODO: 카드 디자인 완성 및 이쁘게 바꾸기 @@ -53,10 +55,10 @@ export default function QuizCard({ quiz, updateQuiz, deleteQuiz }) {
퀴즈 생성 카드
@@ -112,13 +115,15 @@ export default function QuizCard({ quiz, updateQuiz, deleteQuiz }) { > 선택지 추가하기 - + {choices.length > 0 && ( + + )} {choices.map?.((choice, idx) => (
- 카드 추가 + + 새 퀴즈 추가