{
"props": {
"action": { "type": { "name": "node" } },
"avatar": { "type": { "name": "node" } },
"classes": { "type": { "name": "object" }, "additionalInfo": { "cssApi": true } },
"component": { "type": { "name": "elementType" } },
"disableTypography": { "type": { "name": "bool" }, "default": "false" },
"slotProps": {
"type": {
"name": "shape",
"description": "{ action?: func
| object, avatar?: func
| object, content?: func
| object, root?: func
| object, subheader?: func
| object, title?: func
| object }"
},
"default": "{}"
},
"slots": {
"type": {
"name": "shape",
"description": "{ action?: elementType, avatar?: elementType, content?: elementType, root?: elementType, subheader?: elementType, title?: elementType }"
},
"default": "{}"
},
"subheader": { "type": { "name": "node" } },
"subheaderTypographyProps": {
"type": { "name": "object" },
"deprecated": true,
"deprecationInfo": "Use slotProps.subheader instead. This prop will be removed in a future major release. See Migrating from deprecated APIs for more details."
},
"sx": {
"type": {
"name": "union",
"description": "Array<func
| object
| bool>
| func
| object"
},
"additionalInfo": { "sx": true }
},
"title": { "type": { "name": "node" } },
"titleTypographyProps": {
"type": { "name": "object" },
"deprecated": true,
"deprecationInfo": "Use slotProps.title instead. This prop will be removed in a future major release. See Migrating from deprecated APIs for more details."
}
},
"name": "CardHeader",
"imports": [
"import CardHeader from '@mui/material/CardHeader';",
"import { CardHeader } from '@mui/material';"
],
"slots": [
{
"name": "root",
"description": "The component that renders the root slot.",
"default": "'div'",
"class": "MuiCardHeader-root"
},
{
"name": "avatar",
"description": "The component that renders the avatar slot.",
"default": "'div'",
"class": "MuiCardHeader-avatar"
},
{
"name": "action",
"description": "The component that renders the action slot.",
"default": "'div'",
"class": "MuiCardHeader-action"
},
{
"name": "content",
"description": "The component that renders the content slot.",
"default": "'div'",
"class": "MuiCardHeader-content"
},
{
"name": "title",
"description": "The component that renders the title slot (as long as disableTypography is not `true`).\n[Follow this guide](https://mui.com/material-ui/api/typography/#props) to learn more about the requirements for this component.",
"default": "Typography",
"class": "MuiCardHeader-title"
},
{
"name": "subheader",
"description": "The component that renders the subheader slot (as long as disableTypography is not `true`).\n[Follow this guide](https://mui.com/material-ui/api/typography/#props) to learn more about the requirements for this component.",
"default": "Typography",
"class": "MuiCardHeader-subheader"
}
],
"classes": [],
"spread": true,
"themeDefaultProps": true,
"muiName": "MuiCardHeader",
"forwardsRefTo": "HTMLDivElement",
"filename": "/packages/mui-material/src/CardHeader/CardHeader.js",
"inheritance": null,
"demos": "