frontend
    Preparing search index...

    Interface GamePageShellProps

    Props for the GamePageShell component.

    interface GamePageShellProps {
        cancelReset: () => void;
        children: ReactNode;
        confirmOpen: boolean;
        confirmReset: () => void;
        gameEndFlag: boolean;
        gamePath: string;
        gameThemeBg: string;
        headerExtra?: ReactNode;
        isHumanTurn: boolean;
        loading: boolean;
        phaseName: string;
        title: string;
    }
    Index

    Properties

    cancelReset: () => void

    Callback to cancel the reset action.

    children: ReactNode

    Game-specific content placed between the PhaseIndicator and the win/reset overlays. Typically includes: settings panel, scrollable game area, and GameFooter.

    confirmOpen: boolean

    Whether the reset confirmation dialog is open.

    confirmReset: () => void

    Callback to confirm the reset action.

    gameEndFlag: boolean

    Whether a game-end condition has been reached, controls WinCelebration.

    gamePath: string

    Path used by ManualButton to load the game manual (e.g., "/hearts").

    gameThemeBg: string

    Tailwind background class for the outer container (e.g., gameTheme.hearts.bg).

    headerExtra?: ReactNode

    Extra elements rendered inside the PhaseIndicator alongside TutorialButton/ManualButton.

    isHumanTurn: boolean

    Whether it is the human player's turn, controls the turn indicator color.

    loading: boolean

    Whether an async operation is in progress; forwarded to aria-busy on the outer container.

    phaseName: string

    Current phase label shown in the PhaseIndicator.

    title: string

    Page title rendered as a visually-hidden h1 heading.