API Reference@grafana/uilinkModelToContextMenuItems

linkModelToContextMenuItems variable

linkModelToContextMenuItems variable

Delays creating links until we need to open the ContextMenu

Signature

linkModelToContextMenuItems: (links: () => LinkModel[]) => MenuItemProps[]

Import

import { linkModelToContextMenuItems } from '@grafana/ui';