{
"props": {
"children": { "type": { "name": "node" } },
"color": {
"type": {
"name": "enum",
"description": "'danger'
| 'neutral'
| 'primary'
| 'success'
| 'warning'"
},
"default": "'neutral'",
"additionalInfo": { "joy-color": true }
},
"component": { "type": { "name": "elementType" } },
"indicator": { "type": { "name": "node" }, "default": "
| object, indicator?: func
| object, root?: func
| object }"
},
"default": "{}"
},
"slots": {
"type": {
"name": "shape",
"description": "{ button?: elementType, indicator?: elementType, root?: elementType }"
},
"default": "{}",
"additionalInfo": { "slotsApi": true }
},
"sx": {
"type": {
"name": "union",
"description": "Array<func
| object
| bool>
| func
| object"
},
"additionalInfo": { "sx": true }
},
"variant": {
"type": {
"name": "enum",
"description": "'outlined'
| 'plain'
| 'soft'
| 'solid'"
},
"default": "'plain'",
"additionalInfo": { "joy-variant": true }
}
},
"name": "AccordionSummary",
"imports": [
"import AccordionSummary from '@mui/joy/AccordionSummary';",
"import { AccordionSummary } from '@mui/joy';"
],
"slots": [
{
"name": "root",
"description": "The component that renders the root.",
"default": "'div'",
"class": "MuiAccordionSummary-root"
},
{
"name": "button",
"description": "The component that renders the button.",
"default": "'button'",
"class": "MuiAccordionSummary-button"
},
{
"name": "indicator",
"description": "The component that renders the indicator.",
"default": "'span'",
"class": "MuiAccordionSummary-indicator"
}
],
"classes": [
{
"key": "disabled",
"className": "Mui-disabled",
"description": "Class name applied when the accordion is disabled.",
"isGlobal": true
},
{
"key": "expanded",
"className": "Mui-expanded",
"description": "Class name applied when the accordion is expanded.",
"isGlobal": true
}
],
"spread": true,
"themeDefaultProps": true,
"muiName": "JoyAccordionSummary",
"forwardsRefTo": "HTMLDivElement",
"filename": "/packages/mui-joy/src/AccordionSummary/AccordionSummary.tsx",
"inheritance": null,
"demos": "