import { Box, Typography, useTheme } from "@mui/material"; import type { QuizQuestionPage } from "@model/questionTypes/page"; import QuizVideo from "@/ui_kit/VideoIframe/VideoIframe"; type PageProps = { currentQuestion: QuizQuestionPage; }; export const Page = ({ currentQuestion }: PageProps) => { const theme = useTheme(); return ( {currentQuestion.title} {currentQuestion.content.text} {currentQuestion.content.useImage ? ( currentQuestion.content.back && ( ) ) : ( )} ); };