Documentation
Types
Menucomponent

MenuComponent

interface MenuElementProps {
    prompt: Sentence;
    choices: Choice[];
    afterChoose: (choice: Choice) => void;
    state: GameState;
}
type MenuComponent = Components<MenuElementProps>;

For Components, see Components