feat: ArticleDetailAnswer 받은 답변 출력 기능 추가

This commit is contained in:
정기영 2024-07-18 10:18:29 +09:00
parent 55804f6188
commit 8b3a30aee0

View File

@ -1,13 +1,13 @@
import styles from './ArticleDetailAnswer.module.css';
export default function ArticleDetailAnswer() {
export default function ArticleDetailAnswer({ answer }) {
return (
<div className={styles.answer}>
<div className={styles.answerHeader}>
<div>--</div>
<div className={styles.author}>선생님의 답변</div>
</div>
<div className={styles.content}>Lorem ipsum dolor sit amet.</div>
<div className={styles.content}>{answer}</div>
</div>
);
}