@dxos/react-ui-menu
    Preparing search index...

    Function applyPresentation

    • Merges an action's presentation[surface] chrome override (if any) into its properties, letting a single action declare multiple dispositions yet render appropriately in each surface — e.g. a primary toolbar button and a plain nav-tree row from the same definition.

      Type Parameters

      • A extends ActionLike

      Parameters

      • action: A
      • surface: string

      Returns A