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
69 lines
3.2 KiB
JSON
69 lines
3.2 KiB
JSON
{
|
|
"componentDescription": "",
|
|
"propDescriptions": {
|
|
"children": { "description": "The content of the component." },
|
|
"classes": { "description": "Override or extend the styles applied to the component." },
|
|
"defaultExpanded": { "description": "If <code>true</code>, expands the accordion by default." },
|
|
"disabled": { "description": "If <code>true</code>, the component is disabled." },
|
|
"disableGutters": {
|
|
"description": "If <code>true</code>, it removes the margin between two expanded accordion items and the increase of height."
|
|
},
|
|
"expanded": {
|
|
"description": "If <code>true</code>, expands the accordion, otherwise collapse it. Setting this prop enables control over the accordion."
|
|
},
|
|
"onChange": {
|
|
"description": "Callback fired when the expand/collapse state is changed.",
|
|
"typeDescriptions": {
|
|
"event": {
|
|
"name": "event",
|
|
"description": "The event source of the callback. <strong>Warning</strong>: This is a generic event not a change event."
|
|
},
|
|
"expanded": {
|
|
"name": "expanded",
|
|
"description": "The <code>expanded</code> state of the accordion."
|
|
}
|
|
}
|
|
},
|
|
"slotProps": { "description": "The props used for each slot inside." },
|
|
"slots": { "description": "The components used for each slot inside." },
|
|
"square": { "description": "If <code>true</code>, rounded corners are disabled." },
|
|
"sx": {
|
|
"description": "The system prop that allows defining system overrides as well as additional CSS styles."
|
|
},
|
|
"TransitionComponent": {
|
|
"description": "The component used for the transition. <a href=\"https://mui.com/material-ui/transitions/#transitioncomponent-prop\">Follow this guide</a> to learn more about the requirements for this component."
|
|
},
|
|
"TransitionProps": {
|
|
"description": "Props applied to the transition element. By default, the element is based on this <a href=\"https://reactcommunity.org/react-transition-group/transition/\"><code>Transition</code></a> component."
|
|
}
|
|
},
|
|
"classDescriptions": {
|
|
"disabled": {
|
|
"description": "State class applied to {{nodeName}} if {{conditions}}.",
|
|
"nodeName": "the root element",
|
|
"conditions": "<code>disabled={true}</code>"
|
|
},
|
|
"expanded": {
|
|
"description": "State class applied to {{nodeName}} if {{conditions}}.",
|
|
"nodeName": "the root element",
|
|
"conditions": "<code>expanded={true}</code>"
|
|
},
|
|
"gutters": {
|
|
"description": "Styles applied to {{nodeName}} unless {{conditions}}.",
|
|
"nodeName": "the root element",
|
|
"conditions": "<code>disableGutters={true}</code>"
|
|
},
|
|
"rounded": {
|
|
"description": "Styles applied to {{nodeName}} unless {{conditions}}.",
|
|
"nodeName": "the root element",
|
|
"conditions": "<code>square={true}</code>"
|
|
}
|
|
},
|
|
"slotDescriptions": {
|
|
"heading": "The component that renders the heading.",
|
|
"region": "The component that renders the region.",
|
|
"root": "The component that renders the root.",
|
|
"transition": "The component that renders the transition. <a href=\"https://mui.com/material-ui/transitions/#transitioncomponent-prop\">Follow this guide</a> to learn more about the requirements for this component."
|
|
}
|
|
}
|