{
"props": {
"children": { "type": { "name": "node" } },
"classes": { "type": { "name": "object" }, "additionalInfo": { "cssApi": true } },
"disableTypography": { "type": { "name": "bool" }, "default": "false" },
"inset": { "type": { "name": "bool" }, "default": "false" },
"primary": { "type": { "name": "node" } },
"primaryTypographyProps": {
"type": { "name": "object" },
"deprecated": true,
"deprecationInfo": "Use slotProps.primary instead. This prop will be removed in a future major release. See Migrating from deprecated APIs for more details."
},
"secondary": { "type": { "name": "node" } },
"secondaryTypographyProps": {
"type": { "name": "object" },
"deprecated": true,
"deprecationInfo": "Use slotProps.secondary instead. This prop will be removed in a future major release. See Migrating from deprecated APIs for more details."
},
"slotProps": {
"type": {
"name": "shape",
"description": "{ primary?: func
| object, root?: func
| object, secondary?: func
| object }"
},
"default": "{}"
},
"slots": {
"type": {
"name": "shape",
"description": "{ primary?: elementType, root?: elementType, secondary?: elementType }"
},
"default": "{}"
},
"sx": {
"type": {
"name": "union",
"description": "Array<func
| object
| bool>
| func
| object"
},
"additionalInfo": { "sx": true }
}
},
"name": "ListItemText",
"imports": [
"import ListItemText from '@mui/material/ListItemText';",
"import { ListItemText } from '@mui/material';"
],
"slots": [
{
"name": "root",
"description": "The component that renders the root slot.",
"default": "'div'",
"class": "MuiListItemText-root"
},
{
"name": "primary",
"description": "The component that renders the primary slot.",
"default": "Typography",
"class": "MuiListItemText-primary"
},
{
"name": "secondary",
"description": "The component that renders the secondary slot.",
"default": "Typography",
"class": "MuiListItemText-secondary"
}
],
"classes": [
{
"key": "dense",
"className": "MuiListItemText-dense",
"description": "Styles applied to the Typography component if dense.",
"isGlobal": false
},
{
"key": "inset",
"className": "MuiListItemText-inset",
"description": "Styles applied to the root element if `inset={true}`.",
"isGlobal": false
},
{
"key": "multiline",
"className": "MuiListItemText-multiline",
"description": "Styles applied to the Typography component if primary and secondary are set.",
"isGlobal": false
}
],
"spread": true,
"themeDefaultProps": true,
"muiName": "MuiListItemText",
"forwardsRefTo": "HTMLDivElement",
"filename": "/packages/mui-material/src/ListItemText/ListItemText.js",
"inheritance": null,
"demos": "