Files
react-test/docs/pages/joy-ui/api/accordion-summary.json
how2ice 005cf56baf
Some checks failed
No response / noResponse (push) Has been cancelled
CI / Continuous releases (push) Has been cancelled
CI / test-dev (macos-latest) (push) Has been cancelled
CI / test-dev (ubuntu-latest) (push) Has been cancelled
CI / test-dev (windows-latest) (push) Has been cancelled
Maintenance / main (push) Has been cancelled
Scorecards supply-chain security / Scorecards analysis (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
init project
2025-12-12 14:26:25 +09:00

93 lines
2.8 KiB
JSON

{
"props": {
"children": { "type": { "name": "node" } },
"color": {
"type": {
"name": "enum",
"description": "'danger'<br>&#124;&nbsp;'neutral'<br>&#124;&nbsp;'primary'<br>&#124;&nbsp;'success'<br>&#124;&nbsp;'warning'"
},
"default": "'neutral'",
"additionalInfo": { "joy-color": true }
},
"component": { "type": { "name": "elementType" } },
"indicator": { "type": { "name": "node" }, "default": "<KeyboardArrowDown />" },
"slotProps": {
"type": {
"name": "shape",
"description": "{ button?: func<br>&#124;&nbsp;object, indicator?: func<br>&#124;&nbsp;object, root?: func<br>&#124;&nbsp;object }"
},
"default": "{}"
},
"slots": {
"type": {
"name": "shape",
"description": "{ button?: elementType, indicator?: elementType, root?: elementType }"
},
"default": "{}",
"additionalInfo": { "slotsApi": true }
},
"sx": {
"type": {
"name": "union",
"description": "Array&lt;func<br>&#124;&nbsp;object<br>&#124;&nbsp;bool&gt;<br>&#124;&nbsp;func<br>&#124;&nbsp;object"
},
"additionalInfo": { "sx": true }
},
"variant": {
"type": {
"name": "enum",
"description": "'outlined'<br>&#124;&nbsp;'plain'<br>&#124;&nbsp;'soft'<br>&#124;&nbsp;'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": "<ul><li><a href=\"/joy-ui/react-accordion/\">Accordion</a></li></ul>",
"cssComponent": false
}