Dropdown Menu

Useful for displaying a list of contextual actions on right click.

Props

PropTypeDescription
buttonbutton elementThe button element to attach the menu to.
menuMenu elementThe menu to render (see Menu component for usage)