API Reference@grafana/dataNavModelItem

Signature

export interface NavModelItem extends NavLinkDTO 

Import

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

Properties

PropertyTypeDescription
activeboolean
breadcrumbsNavModelBreadcrumb[]
childrenNavModelItem[]
highlightIdstring
highlightTextstring
menuItemTypeNavMenuItemType
onClick() => void
parentItemNavModelItem
showIconInNavbarboolean
showOrgSwitcherboolean
tabSuffixComponentType<{
className?: string;
}>

active property

Signature

active?: boolean;

Signature

breadcrumbs?: NavModelBreadcrumb[];

children property

Signature

children?: NavModelItem[];

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;
    }>;