NavMenuSection

NavMenuSection

A NavMenuSection is a grouping of links in the main (left-hand side) nav bar.

Signature

interface NavMenuSection {
  id: string;
  label: string;
  items: NavMenuItem[];
  requiresPermission?: string | ((userPermissions: string[]) => boolean);
  collapsible?: boolean;
  collapsedByDefault?: boolean;
}

Members

id

property
type:
string

label

property
type:
string

items

property
type:
NavMenuItem[]

requiresPermission

property
type:
string | ((userPermissions: string[]) => boolean)

collapsible

property
type:
boolean

collapsedByDefault

property
type:
boolean