API Reference@grafana/dataNavModelItem

Signature

export interface NavModelItem extends NavLinkDTO 

Import

import { NavModelItem } from '@grafana/data';

Properties

Property Type Description
active boolean
breadcrumbs NavModelBreadcrumb[]
children NavModelItem[]
hideFromNavbar boolean
highlightId string
highlightText string
menuItemType NavMenuItemType
onClick () => void
parentItem NavModelItem
showIconInNavbar boolean
showOrgSwitcher boolean
tabSuffix ComponentType<{
className?: string;
}>

active property

Signature

active?: boolean;

Signature

breadcrumbs?: NavModelBreadcrumb[];

children property

Signature

children?: NavModelItem[];

hideFromNavbar property

Signature

hideFromNavbar?: boolean;

highlightId property

Signature

highlightId?: string;

highlightText property

Signature

highlightText?: string;

Signature

menuItemType?: NavMenuItemType;

onClick property

Signature

onClick?: () => void;

parentItem property

Signature

parentItem?: NavModelItem;

showIconInNavbar property

Signature

showIconInNavbar?: boolean;

showOrgSwitcher property

Signature

showOrgSwitcher?: boolean;

tabSuffix property

Signature

tabSuffix?: ComponentType<{
        className?: string;
    }>;