add quiz preview to survey setup
This commit is contained in:
parent
7bec46efcc
commit
feeb4eaf69
@ -17,6 +17,8 @@ import type {
|
|||||||
AnyQuizQuestion,
|
AnyQuizQuestion,
|
||||||
QuizQuestionBase,
|
QuizQuestionBase,
|
||||||
} from "../../../model/questionTypes/shared";
|
} from "../../../model/questionTypes/shared";
|
||||||
|
import QuizPreview from "@ui_kit/QuizPreview/QuizPreview";
|
||||||
|
import { createPortal } from "react-dom";
|
||||||
|
|
||||||
export default function FormQuestionsPage() {
|
export default function FormQuestionsPage() {
|
||||||
const { listQuizes, updateQuizesList } = quizStore();
|
const { listQuizes, updateQuizesList } = quizStore();
|
||||||
@ -133,6 +135,7 @@ export default function FormQuestionsPage() {
|
|||||||
>
|
>
|
||||||
Следующий шаг
|
Следующий шаг
|
||||||
</Button>
|
</Button>
|
||||||
|
{createPortal(<QuizPreview />, document.body)}
|
||||||
</Box>
|
</Box>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user