Function useContextMenu

Represents a utility for displaying a context menu.

  • Type Parameters

    • T extends unknown = object

      The type of the payload object.

    Parameters

    • params: IParams<T>

      The parameters for configuring the context menu.

    Returns IResult

    • The object containing the properties and methods for rendering the context menu.