A top-level menu entry that opens a flyout of <MenuItem>s. Rest props go to the submenu list (role="menu"); use triggerProps for the button.
<MenuItem>
role="menu"
triggerProps
Readonly
Optional
Used in debugging messages. You might want to set it explicitly if you want to display a different name for debugging purposes.
Legacy React Docs
Ignored by React.
Only kept in types for backwards compatibility. Will be removed in a future major release.
A top-level menu entry that opens a flyout of
<MenuItem>s. Rest props go to the submenu list (role="menu"); usetriggerPropsfor the button.