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