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
90 lines
3.4 KiB
JSON
90 lines
3.4 KiB
JSON
{
|
|
"props": {
|
|
"open": { "type": { "name": "bool" }, "required": true },
|
|
"children": { "type": { "name": "node" } },
|
|
"classes": { "type": { "name": "object" }, "additionalInfo": { "cssApi": true } },
|
|
"component": { "type": { "name": "elementType" } },
|
|
"components": {
|
|
"type": { "name": "shape", "description": "{ Root?: elementType }" },
|
|
"default": "{}",
|
|
"deprecated": true,
|
|
"deprecationInfo": "Use the <code>slots</code> prop instead. This prop will be removed in a future major release. See <a href=\"https://mui.com/material-ui/migration/migrating-from-deprecated-apis/\">Migrating from deprecated APIs</a> for more details."
|
|
},
|
|
"componentsProps": {
|
|
"type": { "name": "shape", "description": "{ root?: object }" },
|
|
"default": "{}",
|
|
"deprecated": true,
|
|
"deprecationInfo": "Use the <code>slotProps</code> prop instead. This prop will be removed in a future major release. See <a href=\"https://mui.com/material-ui/migration/migrating-from-deprecated-apis/\">Migrating from deprecated APIs</a> for more details."
|
|
},
|
|
"invisible": { "type": { "name": "bool" }, "default": "false" },
|
|
"slotProps": {
|
|
"type": {
|
|
"name": "shape",
|
|
"description": "{ root?: func<br>| object, transition?: func<br>| object }"
|
|
},
|
|
"default": "{}"
|
|
},
|
|
"slots": {
|
|
"type": {
|
|
"name": "shape",
|
|
"description": "{ root?: elementType, transition?: elementType }"
|
|
},
|
|
"default": "{}"
|
|
},
|
|
"sx": {
|
|
"type": {
|
|
"name": "union",
|
|
"description": "Array<func<br>| object<br>| bool><br>| func<br>| object"
|
|
},
|
|
"additionalInfo": { "sx": true }
|
|
},
|
|
"TransitionComponent": {
|
|
"type": { "name": "elementType" },
|
|
"default": "Fade",
|
|
"deprecated": true,
|
|
"deprecationInfo": "Use <code>slots.transition</code> instead. This prop will be removed in a future major release. See <a href=\"/material-ui/migration/migrating-from-deprecated-apis/\">Migrating from deprecated APIs</a> for more details."
|
|
},
|
|
"transitionDuration": {
|
|
"type": {
|
|
"name": "union",
|
|
"description": "number<br>| { appear?: number, enter?: number, exit?: number }"
|
|
}
|
|
}
|
|
},
|
|
"name": "Backdrop",
|
|
"imports": [
|
|
"import Backdrop from '@mui/material/Backdrop';",
|
|
"import { Backdrop } from '@mui/material';"
|
|
],
|
|
"slots": [
|
|
{
|
|
"name": "root",
|
|
"description": "The component that renders the root.",
|
|
"default": "'div'",
|
|
"class": "MuiBackdrop-root"
|
|
},
|
|
{
|
|
"name": "transition",
|
|
"description": "The component that renders the transition.\n[Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.",
|
|
"default": "Fade",
|
|
"class": null
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"key": "invisible",
|
|
"className": "MuiBackdrop-invisible",
|
|
"description": "Styles applied to the root element if `invisible={true}`.",
|
|
"isGlobal": false
|
|
}
|
|
],
|
|
"spread": true,
|
|
"themeDefaultProps": true,
|
|
"muiName": "MuiBackdrop",
|
|
"forwardsRefTo": "HTMLDivElement",
|
|
"filename": "/packages/mui-material/src/Backdrop/Backdrop.js",
|
|
"inheritance": { "component": "Fade", "pathname": "/material-ui/api/fade/" },
|
|
"demos": "<ul><li><a href=\"/material-ui/react-backdrop/\">Backdrop</a></li></ul>",
|
|
"cssComponent": false
|
|
}
|