Menu
Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.
Enterprise
Open source
NavModelItem interface
Signature
typescript
export interface NavModelItem extends NavLinkDTO Import
typescript
import { NavModelItem } from '@grafana/data';Properties
| Property | Type | Description |
|---|---|---|
| active | boolean | |
| breadcrumbs | NavModelBreadcrumb[] | |
| children | NavModelItem[] | |
| highlightId | string | |
| highlightText | string | |
| menuItemType | NavMenuItemType | |
| onClick | () => void | |
| parentItem | NavModelItem | |
| showIconInNavbar | boolean | |
| showOrgSwitcher | boolean | |
| tabSuffix | ComponentType<{className?: string;}> |
active property
Signature
typescript
active?: boolean;breadcrumbs property
Signature
typescript
breadcrumbs?: NavModelBreadcrumb[];children property
Signature
typescript
children?: NavModelItem[];highlightId property
Signature
typescript
highlightId?: string;highlightText property
Signature
typescript
highlightText?: string;menuItemType property
Signature
typescript
menuItemType?: NavMenuItemType;onClick property
Signature
typescript
onClick?: () => void;parentItem property
Signature
typescript
parentItem?: NavModelItem;showIconInNavbar property
Signature
typescript
showIconInNavbar?: boolean;showOrgSwitcher property
Signature
typescript
showOrgSwitcher?: boolean;tabSuffix property
Signature
typescript
tabSuffix?: ComponentType<{
className?: string;
}>;Was this page helpful?
Related resources from Grafana Labs
Additional helpful documentation, links, and articles:
Scroll for more