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