5180 fichiers 38.5 Mo 0 téléchargements 306 vues mis à jour il y a 6 heures ui
nitro-v36-with-renderer-v36 / src / components / help / habbo-way / HabboWayWindowsView.tsx
HabboWayWindowsView.tsx 1.1 Ko Télécharger le fichier
import { FC } from 'react';
import { NativeTextTree } from '../../../common/native-text/NativeTextTree';
import { useHabboWay } from '../../../hooks';
import { HabboWayQuizView } from './HabboWayQuizView';
import { HabboWayView } from './HabboWayView';
import { SafetyBookletView } from './SafetyBookletView';

/** The Habbo Way, the safety booklet and their quiz (AIR HabboHelp showHabboWay / openSafetyBooklet). */
export const HabboWayWindowsView: FC = () => {
    const { habboWayPage, setHabboWayPage, bookletPage, setBookletPage, quiz, startQuiz, selectAnswer, moveQuestion, reviewQuiz, closeQuiz } = useHabboWay();

    return (
        <NativeTextTree>
            <>
                {habboWayPage >= 0 && <HabboWayView page={habboWayPage} setPage={setHabboWayPage} startQuiz={startQuiz} />}
                {bookletPage >= 0 && <SafetyBookletView page={bookletPage} setPage={setBookletPage} startQuiz={startQuiz} />}
                {quiz && <HabboWayQuizView closeQuiz={closeQuiz} moveQuestion={moveQuestion} quiz={quiz} reviewQuiz={reviewQuiz} selectAnswer={selectAnswer} />}
            </>
        </NativeTextTree>
    );
};
15Sujets
1Dépôts
20Membres
2En ligne
Profile
Inscrit
Dernière visite
Messages
0
Votes positifs
0
Votes négatifs
0

Nous utilisons des cookies pour assurer le bon fonctionnement du site et améliorer votre expérience. en savoir plus

Autoriser