+
+ selectOption(question.id, optionId)}
+ onChangeText={(text) => changeText(question.id, text)}
+ onRetry={() => retry(question.id)}
+ />
+
+
+
+ {currentIndex < session.questions.length - 1 ? (
+
+ ) : (
+ }
+ onClick={() => setConfirmOpened(true)}
+ >
+ Submit exam
+
+ )}
+
+
+
+
+
+ }
+ onClick={() => setConfirmOpened(true)}
+ >
+ Submit exam
+
+
+
+
+