change QuestionList, style QuestionItem
This commit is contained in:
parent
b3132da636
commit
065917b4d2
4 changed files with 43 additions and 10 deletions
|
|
@ -83,8 +83,8 @@ const QuestionItem: React.FC<QuestionItemProps> = ({indexQuestion, initialTextQu
|
|||
placeholder={initialTextQuestion}
|
||||
/>
|
||||
) : (
|
||||
<button className={styles.textQuestion} onClick={handleQuestionClick}>
|
||||
<h2>{textQuestion || initialTextQuestion}</h2>
|
||||
<button className={styles.buttonQuestion} onClick={handleQuestionClick}>
|
||||
<h2 className={styles.textQuestion}>{textQuestion || initialTextQuestion}</h2>
|
||||
</button>
|
||||
)}
|
||||
{answerOption.map((answerText, index) => (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue