Skip to main content

Vertical Menu Props

warning

Please note that the VerticalNavContent used in this example is only for documentation purposes. If you want to use it in your own component, please import it from src/components/layout/horizontal/VerticalNavContent.tsx and use it accordingly.

The vertical-menu-props prop is used to change the appearance of the vertical navigation menu when breakpoint is reached.

Props

verticalMenuProps?: Pick<
VerticalMenuProps,
| 'transitionDuration'
| 'menuSectionStyles'
| 'menuItemStyles'
| 'subMenuOpenBehavior'
| 'renderExpandIcon'
| 'renderExpandedMenuItemIcon'
| 'textTruncate'
| 'rootStyles'
>

Example

/horizontal-menu/menu/vertical-menu-props

Source Code