Menu

Type: React component

A type of list component generally used within a navigational context.

Expects MenuItem, MenuItemWithDrop and/or MenuGroup components as direct children.

Menu handles the hovered state of its child menu items and automatically renders separation lines between MenuGroup components.

Props

  1. children

    (Required)

    Type: ReactNode

  2. maxHeight

    (Optional)

    Default value

  3. onRef

    (Optional)

    Default value