{ "props": { "alignItems": { "type": { "name": "enum", "description": "'center'
| 'flex-start'" }, "default": "'center'" }, "children": { "type": { "name": "custom", "description": "node" } }, "classes": { "type": { "name": "object" }, "additionalInfo": { "cssApi": true } }, "component": { "type": { "name": "elementType" } }, "components": { "type": { "name": "shape", "description": "{ Root?: elementType }" }, "default": "{}", "deprecated": true, "deprecationInfo": "Use the slots prop instead. This prop will be removed in a future major release. See Migrating from deprecated APIs for more details." }, "componentsProps": { "type": { "name": "shape", "description": "{ root?: object }" }, "default": "{}", "deprecated": true, "deprecationInfo": "Use the slotProps prop instead. This prop will be removed in a future major release. See Migrating from deprecated APIs for more details." }, "ContainerComponent": { "type": { "name": "custom", "description": "element type" }, "default": "'li'", "deprecated": true, "deprecationInfo": "Use the component or slots.root prop instead. This prop will be removed in a future major release. See Migrating from deprecated APIs for more details." }, "ContainerProps": { "type": { "name": "object" }, "default": "{}", "deprecated": true, "deprecationInfo": "Use the slotProps.root prop instead. This prop will be removed in a future major release. See Migrating from deprecated APIs for more details." }, "dense": { "type": { "name": "bool" }, "default": "false" }, "disableGutters": { "type": { "name": "bool" }, "default": "false" }, "disablePadding": { "type": { "name": "bool" }, "default": "false" }, "divider": { "type": { "name": "bool" }, "default": "false" }, "secondaryAction": { "type": { "name": "node" } }, "slotProps": { "type": { "name": "shape", "description": "{ root?: object, secondaryAction?: func
| object }" }, "default": "{}" }, "slots": { "type": { "name": "shape", "description": "{ root?: elementType, secondaryAction?: elementType }" }, "default": "{}" }, "sx": { "type": { "name": "union", "description": "Array<func
| object
| bool>
| func
| object" }, "additionalInfo": { "sx": true } } }, "name": "ListItem", "imports": [ "import ListItem from '@mui/material/ListItem';", "import { ListItem } from '@mui/material';" ], "classes": [ { "key": "alignItemsFlexStart", "className": "MuiListItem-alignItemsFlexStart", "description": "Styles applied to the component element if `alignItems=\"flex-start\"`.", "isGlobal": false }, { "key": "container", "className": "MuiListItem-container", "description": "Styles applied to the container element if `children` includes `ListItemSecondaryAction`.", "isGlobal": false }, { "key": "dense", "className": "MuiListItem-dense", "description": "Styles applied to the component element if dense.", "isGlobal": false }, { "key": "divider", "className": "MuiListItem-divider", "description": "Styles applied to the inner `component` element if `divider={true}`.", "isGlobal": false }, { "key": "gutters", "className": "MuiListItem-gutters", "description": "Styles applied to the inner `component` element unless `disableGutters={true}`.", "isGlobal": false }, { "key": "padding", "className": "MuiListItem-padding", "description": "Styles applied to the root element unless `disablePadding={true}`.", "isGlobal": false }, { "key": "root", "className": "MuiListItem-root", "description": "Styles applied to the (normally root) `component` element. May be wrapped by a `container`.", "isGlobal": false }, { "key": "secondaryAction", "className": "MuiListItem-secondaryAction", "description": "Styles applied to the component element if `children` includes `ListItemSecondaryAction`.", "isGlobal": false } ], "spread": true, "themeDefaultProps": true, "muiName": "MuiListItem", "forwardsRefTo": "HTMLLIElement", "filename": "/packages/mui-material/src/ListItem/ListItem.js", "inheritance": null, "demos": "", "cssComponent": false }