import QuizAnswerer from "@/components/QuizAnswerer"; import CloseIcon from '@mui/icons-material/Close'; import { Dialog, IconButton, Slide, SlideProps, SxProps, Theme } from "@mui/material"; import { forwardRef } from "react"; const SlideTransition = forwardRef((props, ref) => { return ( ); }); interface Props { open?: boolean; quizId: string; paperSx?: SxProps; hideBackdrop?: boolean; disableScrollLock?: boolean; onClose?: () => void; } export default function QuizDialog({ open = true, quizId, paperSx = [], hideBackdrop, disableScrollLock, onClose }: Props) { return ( ); }