v31.13.0
Minor Changes
-
MenuRenderer, OverflowMenu: Provide context data to onClose (#1115)
The
onClosehandler now receives data to allow consumers to discern why the menu closed — either by exiting or selecting an action. See the documentation for more details.EXAMPLE USAGE:
<MenuRenderer onClose={closeReason => { // ... }} />