NarraLeaf

ComponentsTypes

The map of replaceable UI component slots, say, menu, notification and NVL dialog, that a game can override through `Game.configure`.

type ComponentsTypes = {
    say: SayComponent;
    menu: MenuComponent;
    notification: NotificationComponent;
    nvlDialog: NvlDialogComponent;
};

Every slot a game may replace with a component of its own, passed through Game.configure.

say

See SayComponent

See MenuComponent

notification

Components<INotificationsProps> — the component that draws the game's notifications. See Notification.

nvlDialog

Components<INvlContainerProps> — the component that draws NVL mode. See NVL Container.

On this page