import { useQuizStore } from "@/stores/useQuizStore"; import { Button, Skeleton } from "@mui/material"; import { quizThemes } from "@utils/themes/Publication/themePublication"; import { useTranslation } from "react-i18next"; interface Props { isNextButtonEnabled: boolean; moveToNextQuestion: () => void; } export default function NextButton({ isNextButtonEnabled, moveToNextQuestion }: Props) { const { settings, nextLoading } = useQuizStore(); const { t } = useTranslation(); return nextLoading ? ( ) : ( ); }