MenuList API
The API documentation of the MenuList React component. Learn more about the props and the CSS customization points.
import { MenuList } from '@material-ui/core';
Props
Name | Type | Default | Description |
---|---|---|---|
autoFocus | bool | false | If true , the list will be focused during the first mount. Focus will also be triggered if the value changes from false to true. |
children | node | MenuList contents, normally MenuItem s. |
|
disableListWrap | bool | false | If true , the menu items will not wrap focus. |
The ref
is forwarded to the root element.
Any other props supplied will be provided to the root element (List).
Inheritance
The props of the List component are also available. You can take advantage of this behavior to target nested components.
Notes
The component is fully StrictMode compatible.