ContextMenuInfo: {
    id: string;
    items: ContextMenuItem[];
    mouseX: number;
    mouseY: number;
}

Represents the props for the context menu.

Type declaration

  • id: string

    The Unique ID of the context menu.

  • items: ContextMenuItem[]

    The items to display in the context menu.

  • mouseX: number

    The x-coordinate of the mouse.

  • mouseY: number

    The y-coordinate of the mouse.