Hiyve Components - v1.0.0
    Preparing search index...

    Props for GameReady: the Ready screen, over the world.

    interface GameReadyProps {
        extra?: ReactNode;
        goal: string;
        labels?: Partial<GameShellLabels>;
        level?: number;
        levels?: number;
        look?: GameLookName | GameLook;
        mascot?: false | MascotName;
        onHelp?: () => void;
        onLevelChange?: (level: number) => void;
        onStart: () => void;
        options?: ReactNode;
        startLabel?: string;
        title: string;
    }
    Index

    Properties

    extra?: ReactNode

    More under Start and How to play: a game's own button, say

    goal: string

    The goal, in one sentence

    labels?: Partial<GameShellLabels>
    level?: number

    The level chosen

    levels?: number

    How many levels the pills offer (default: 5)

    mascot?: false | MascotName
    onHelp?: () => void

    A How to play button under Start, when given

    onLevelChange?: (level: number) => void

    A level pill was chosen; the pills show only when this is given

    onStart: () => void
    options?: ReactNode

    A choice of the game's own above Start, under the level pills: how to play it, say

    startLabel?: string

    The big button's words (default: the labels' start)

    title: string