feat: ArticleDetailAnswer 받은 답변 출력 기능 추가
This commit is contained in:
parent
55804f6188
commit
8b3a30aee0
@ -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>
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user