NavModelItem interface

Signature

  1. export interface NavModelItem extends NavLinkDTO

Import

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

Properties

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

active property

Signature

  1. active?: boolean;

breadcrumbs property

Signature

  1. breadcrumbs?: NavModelBreadcrumb[];

children property

Signature

  1. children?: NavModelItem[];

hideFromNavbar property

Signature

  1. hideFromNavbar?: boolean;

highlightId property

Signature

  1. highlightId?: string;

highlightText property

Signature

  1. highlightText?: string;

menuItemType property

Signature

  1. menuItemType?: NavMenuItemType;

onClick property

Signature

  1. onClick?: () => void;

parentItem property

Signature

  1. parentItem?: NavModelItem;

showIconInNavbar property

Signature

  1. showIconInNavbar?: boolean;

showOrgSwitcher property

Signature

  1. showOrgSwitcher?: boolean;

tabSuffix property

Signature

  1. tabSuffix?: ComponentType<{
  2. className?: string;
  3. }>;