AboutSupportDeveloper GuideVersion 38.126.83.79

Interface ClickedMenuResult<Data>

interface ClickedMenuResult<Data> {
    data: Data;
    result: "clicked";
}

Type Parameters

  • Data extends unknown = unknown

    User-defined shape for data returned upon menu item click. Should be a union of all possible data shapes for the entire menu, and the click handler should process these with a "reducer" pattern.

Properties

Properties

data: Data
result: "clicked"