useMenu API
API reference docs for the useMenu hook. Learn about the input parameters and other APIs of this exported module.
Demos
For examples and details on the usage of this React hook, visit the demo pages:
Import
import useMenu from '@mui/base/useMenu';
Parameters
Name | Type | Default | Description |
---|
listboxId | string | | |
listboxRef | React.Ref<any> | | |
onClose | () => void | | |
open | boolean | | |
Return value
Name | Type | Default | Description |
---|