{ "props": { "children": { "type": { "name": "node" } }, "color": { "type": { "name": "union", "description": "'danger'
| 'neutral'
| 'primary'
| 'success'
| 'warning'
| string" }, "additionalInfo": { "joy-color": true } }, "component": { "type": { "name": "elementType" } }, "slotProps": { "type": { "name": "shape", "description": "{ root?: func
| object }" }, "default": "{}" }, "slots": { "type": { "name": "shape", "description": "{ root?: elementType }" }, "default": "{}", "additionalInfo": { "slotsApi": true } }, "sticky": { "type": { "name": "bool" }, "default": "false" }, "sx": { "type": { "name": "union", "description": "Array<func
| object
| bool>
| func
| object" }, "additionalInfo": { "sx": true } }, "variant": { "type": { "name": "union", "description": "'outlined'
| 'plain'
| 'soft'
| 'solid'
| string" }, "additionalInfo": { "joy-variant": true } } }, "name": "ListSubheader", "imports": [ "import ListSubheader from '@mui/joy/ListSubheader';", "import { ListSubheader } from '@mui/joy';" ], "slots": [ { "name": "root", "description": "The component that renders the root.", "default": "'div'", "class": "MuiListSubheader-root" } ], "classes": [ { "key": "colorContext", "className": "MuiListSubheader-colorContext", "description": "Class name applied to the root element when color inversion is triggered.", "isGlobal": false }, { "key": "colorDanger", "className": "MuiListSubheader-colorDanger", "description": "Class name applied to the root element if `color=\"danger\"`.", "isGlobal": false }, { "key": "colorNeutral", "className": "MuiListSubheader-colorNeutral", "description": "Class name applied to the root element if `color=\"neutral\"`.", "isGlobal": false }, { "key": "colorPrimary", "className": "MuiListSubheader-colorPrimary", "description": "Class name applied to the root element if `color=\"primary\"`.", "isGlobal": false }, { "key": "colorSuccess", "className": "MuiListSubheader-colorSuccess", "description": "Class name applied to the root element if `color=\"success\"`.", "isGlobal": false }, { "key": "colorWarning", "className": "MuiListSubheader-colorWarning", "description": "Class name applied to the root element if `color=\"warning\"`.", "isGlobal": false }, { "key": "sticky", "className": "MuiListSubheader-sticky", "description": "Class name applied to the root element, if sticky={true}.", "isGlobal": false }, { "key": "variantOutlined", "className": "MuiListSubheader-variantOutlined", "description": "State class applied to the root element if `variant=\"outlined\"`.", "isGlobal": false }, { "key": "variantPlain", "className": "MuiListSubheader-variantPlain", "description": "State class applied to the root element if `variant=\"plain\"`.", "isGlobal": false }, { "key": "variantSoft", "className": "MuiListSubheader-variantSoft", "description": "State class applied to the root element if `variant=\"soft\"`.", "isGlobal": false }, { "key": "variantSolid", "className": "MuiListSubheader-variantSolid", "description": "State class applied to the root element if `variant=\"solid\"`.", "isGlobal": false } ], "spread": true, "themeDefaultProps": true, "muiName": "JoyListSubheader", "forwardsRefTo": "HTMLDivElement", "filename": "/packages/mui-joy/src/ListSubheader/ListSubheader.tsx", "inheritance": null, "demos": "", "cssComponent": false }