menu-item

v4.9.10arrow_drop_down
v4.9.10
v4.5.2
v3.9.2
STATUS
Passing
DOWNLOADS
26,208
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
4 years ago
SIZE
33 KB
`classes` prop applied to the [`ListItem`](/api/list-item/) element.
2 contributors
Install menu-item as a package?
Copied
npm i @bit/mui-org.material-ui.menu-item
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
import
any of the 1 million components
and packages in Bit or NPM to the example.
import Button from '@bit/grommet.grommet.button';
import Lodash from 'lodash';
toggle layout
modifieddraft
chevron_left
chevron_right

classes prop applied to the ListItem element.

Demos:

API:

Properties
NameTypeDescription
children
node

Menu item contents.

classes
(required)
object

Override or extend the styles applied to the component. See CSS API below for more details.

className
string
component
elementType

The component used for the root node. Either a string to use a DOM element or a component.

dense
bool

If true, compact vertical padding designed for keyboard and mouse input will be used.

disabled
bool
disableGutters
bool

If true, the left and right padding is removed.

ListItemClasses
object

classes prop applied to the ListItem element.

role
string
selected
bool
tabIndex
number
Help and resources