87 lines
4.3 KiB
JSON
87 lines
4.3 KiB
JSON
|
|
{
|
||
|
|
"props": {
|
||
|
|
"open": { "type": { "name": "bool" }, "required": true },
|
||
|
|
"anchorEl": {
|
||
|
|
"type": {
|
||
|
|
"name": "union",
|
||
|
|
"description": "HTML element<br>| object<br>| func"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"children": { "type": { "name": "union", "description": "node<br>| func" } },
|
||
|
|
"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. <a href=\"/material-ui/migration/migrating-from-deprecated-apis/\">How to migrate</a>."
|
||
|
|
},
|
||
|
|
"componentsProps": {
|
||
|
|
"type": { "name": "shape", "description": "{ root?: func<br>| object }" },
|
||
|
|
"default": "{}",
|
||
|
|
"deprecated": true,
|
||
|
|
"deprecationInfo": "use the <code>slotProps</code> prop instead. This prop will be removed in a future major release. <a href=\"/material-ui/migration/migrating-from-deprecated-apis/\">How to migrate</a>."
|
||
|
|
},
|
||
|
|
"container": { "type": { "name": "union", "description": "HTML element<br>| func" } },
|
||
|
|
"disablePortal": { "type": { "name": "bool" }, "default": "false" },
|
||
|
|
"keepMounted": { "type": { "name": "bool" }, "default": "false" },
|
||
|
|
"modifiers": {
|
||
|
|
"type": {
|
||
|
|
"name": "arrayOf",
|
||
|
|
"description": "Array<{ data?: object, effect?: func, enabled?: bool, fn?: func, name?: any, options?: object, phase?: 'afterMain'<br>| 'afterRead'<br>| 'afterWrite'<br>| 'beforeMain'<br>| 'beforeRead'<br>| 'beforeWrite'<br>| 'main'<br>| 'read'<br>| 'write', requires?: Array<string>, requiresIfExists?: Array<string> }>"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"placement": {
|
||
|
|
"type": {
|
||
|
|
"name": "enum",
|
||
|
|
"description": "'auto-end'<br>| 'auto-start'<br>| 'auto'<br>| 'bottom-end'<br>| 'bottom-start'<br>| 'bottom'<br>| 'left-end'<br>| 'left-start'<br>| 'left'<br>| 'right-end'<br>| 'right-start'<br>| 'right'<br>| 'top-end'<br>| 'top-start'<br>| 'top'"
|
||
|
|
},
|
||
|
|
"default": "'bottom'"
|
||
|
|
},
|
||
|
|
"popperOptions": {
|
||
|
|
"type": {
|
||
|
|
"name": "shape",
|
||
|
|
"description": "{ modifiers?: array, onFirstUpdate?: func, placement?: 'auto-end'<br>| 'auto-start'<br>| 'auto'<br>| 'bottom-end'<br>| 'bottom-start'<br>| 'bottom'<br>| 'left-end'<br>| 'left-start'<br>| 'left'<br>| 'right-end'<br>| 'right-start'<br>| 'right'<br>| 'top-end'<br>| 'top-start'<br>| 'top', strategy?: 'absolute'<br>| 'fixed' }"
|
||
|
|
},
|
||
|
|
"default": "{}"
|
||
|
|
},
|
||
|
|
"popperRef": { "type": { "name": "custom", "description": "ref" } },
|
||
|
|
"slotProps": {
|
||
|
|
"type": { "name": "shape", "description": "{ root?: func<br>| object }" },
|
||
|
|
"default": "{}"
|
||
|
|
},
|
||
|
|
"slots": {
|
||
|
|
"type": { "name": "shape", "description": "{ root?: elementType }" },
|
||
|
|
"default": "{}"
|
||
|
|
},
|
||
|
|
"sx": {
|
||
|
|
"type": {
|
||
|
|
"name": "union",
|
||
|
|
"description": "Array<func<br>| object<br>| bool><br>| func<br>| object"
|
||
|
|
},
|
||
|
|
"additionalInfo": { "sx": true }
|
||
|
|
},
|
||
|
|
"transition": { "type": { "name": "bool" }, "default": "false" }
|
||
|
|
},
|
||
|
|
"name": "Popper",
|
||
|
|
"imports": [
|
||
|
|
"import Popper from '@mui/material/Popper';",
|
||
|
|
"import { Popper } from '@mui/material';"
|
||
|
|
],
|
||
|
|
"classes": [
|
||
|
|
{
|
||
|
|
"key": "root",
|
||
|
|
"className": "MuiPopper-root",
|
||
|
|
"description": "Class name applied to the root element.",
|
||
|
|
"isGlobal": false
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"spread": true,
|
||
|
|
"themeDefaultProps": false,
|
||
|
|
"muiName": "MuiPopper",
|
||
|
|
"forwardsRefTo": "HTMLDivElement",
|
||
|
|
"filename": "/packages/mui-material/src/Popper/Popper.tsx",
|
||
|
|
"inheritance": null,
|
||
|
|
"demos": "<ul><li><a href=\"/material-ui/react-autocomplete/\">Autocomplete</a></li>\n<li><a href=\"/material-ui/react-menu/\">Menu</a></li>\n<li><a href=\"/material-ui/react-popper/\">Popper</a></li></ul>",
|
||
|
|
"cssComponent": false
|
||
|
|
}
|