DefaultContextMenuItems()

Default context menu items for the context menu component that include the standard company ownership actions.

function CompanyOwnership() {
  return (
    <CompanyOwnership data={data} contextMenuItems={DefaultContextMenuItems}></CompanyOwnership>
  )
}

Parameters

NameDescriptionType
item
The item to provide the items for.
Entity
| Connection
| null

Returns

TypeDescription
ContextMenuItem<
Entity | Connection
>[]
Returns an array of context menu items.