NavMenuSection
A NavMenuSection is a grouping of links in the main (left-hand side) nav bar.
id
property
stringlabel
property
stringitems
property
NavMenuItem[]icon
property
stringdisplayMode
property
'regular' | 'settings'requiresPermission
property
string | ((userPermissions: string[]) => boolean)Control the display of this item based on the user permissions. Note: if you attempt to pass a PermissionDefinition object, you will get a compilation error. Instead, pass the plain string version. For example, if the permission is defined as:
then the generated permission strings will be:
CreateProductReviewReadProductReviewUpdateProductReviewDeleteProductReview
collapsible
property
booleancollapsedByDefault
property
booleanWas this chapter helpful?