materialuiupgraded
Version:
Material-UI's workspace package
35 lines (20 loc) • 944 B
Markdown
filename: /packages/material-ui/src/MenuList/MenuList.js
title: MenuList API
<!--- This documentation is automatically generated, do not try to edit it. -->
# MenuList
<p class="description">The API documentation of the MenuList React component. Learn more about the properties and the CSS customization points.</p>
```js
import MenuList from '@material-ui/core/MenuList';
```
## Props
| Name | Type | Default | Description |
|:-----|:-----|:--------|:------------|
| <span class="prop-name">children</span> | <span class="prop-type">node | | MenuList contents, normally `MenuItem`s. |
Any other properties supplied will be spread to the root element ([List](/api/list/)).
## Inheritance
The properties of the [List](/api/list/) component are also available.
You can take advantage of this behavior to [target nested components](/guides/api/#spread).
## Demos
- [Menus](/demos/menus/)