The DropdownMenuItem component is used to be able to render nested dropdown menus.
The Menu component is a fully controlled component that will animate in and
out based on the visible prop as well as handle keyboard focus, closing
when needed, etc.
This component is an extension of the Button component that will:
The default menu renderer that will just render the Menu component along
with a List by passing all props down to the main Menu component.
Generated using TypeDoc
A type that can be used to implement a custom menu renderer: