Add canSubmit prop to QuestionRenderer
This commit is contained in:
@@ -99,6 +99,7 @@ function QuestionRenderer({
|
|||||||
onChange: (val: any) => void;
|
onChange: (val: any) => void;
|
||||||
showResult: boolean;
|
showResult: boolean;
|
||||||
lastCorrect: boolean;
|
lastCorrect: boolean;
|
||||||
|
canSubmit: boolean;
|
||||||
}) {
|
}) {
|
||||||
const payload = question.payload || {};
|
const payload = question.payload || {};
|
||||||
const type = question.type || '';
|
const type = question.type || '';
|
||||||
|
|||||||
Reference in New Issue
Block a user