MenuGroup

How to get MenuGroup

import { MenuGroup } from 'fds/components';

Type: Component

Visually groups MenuItem and/or MenuItemWithDrop components. Optionally a heading can be added to further designate the group.

MenuGroup should be used inside of a Menu. For every MenuGroup but the last one in a Menu, a HorizontalSeparationLine is rendered underneath.

Props

# Name Type Description
1. children ReactNode
2. [heading] React:node

The heading to be rendered above the group.


  Default value
null

Related links