Drill Down Menu
This is the <DrillDownMenu />
component.
Examples
<DrillDownMenu items={menuItems} />
Basic Usage
<DrillDownMenu items={menuItems} />
Props
MenuItemType
Name | Type | Default | Description |
---|---|---|---|
defaultOpen? | boolean | false | Set to true if this item's submenu is open by default |
submenu? | Array<MenuItemType> | undefined | Nested Menu List as part of the current item's submenu |
title? | string | undefined | The title of the MenuItem |
url? | string | undefined | The URL that will open if this Menu Item is clicked; Note: if submenu is present, omit URL |
DrillDownMenuProps
Name | Type | Default | Description |
---|---|---|---|
items? | Array<MenuItemType> | undefined | The items that will be displayed in the menu |
width? | string | "300px" | The width of the menu |