Skip to content

RandomMapScreen beta ​

Function of @v12-engine/client/app

ts
export declare function RandomMapScreen(props: {
    title: string;
    form: Omit<Parameters<typeof GeneratorForm>[0], 'onState'>;
    play: (options: GeneratorOptions) => void;
    back: {
        label: string;
        run: () => void;
    };
}): JSX.Element;

The client's screen of a random map: a title, the generator's form, Play and the way back