Skip to content

useMenuItem API

API reference docs for the useMenuItem 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 useMenuItem from '@mui/base/useMenuItem';

Parameters

NameTypeDefaultDescription
ref*React.Ref<any>
disabledboolean
labelstring
onClickReact.MouseEventHandler<any>

Return value

NameTypeDefaultDescription