forked from mui/material-ui
-
Notifications
You must be signed in to change notification settings - Fork 1
/
modal-unstyled.json
47 lines (47 loc) · 1.91 KB
/
modal-unstyled.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
"props": {
"children": { "type": { "name": "custom", "description": "element" }, "required": true },
"open": { "type": { "name": "bool" }, "required": true },
"classes": { "type": { "name": "object" } },
"closeAfterTransition": { "type": { "name": "bool" } },
"component": { "type": { "name": "elementType" } },
"container": { "type": { "name": "union", "description": "HTML element<br>| func" } },
"disableAutoFocus": { "type": { "name": "bool" } },
"disableEnforceFocus": { "type": { "name": "bool" } },
"disableEscapeKeyDown": { "type": { "name": "bool" } },
"disablePortal": { "type": { "name": "bool" } },
"disableRestoreFocus": { "type": { "name": "bool" } },
"disableScrollLock": { "type": { "name": "bool" } },
"hideBackdrop": { "type": { "name": "bool" } },
"keepMounted": { "type": { "name": "bool" } },
"onBackdropClick": {
"type": { "name": "func" },
"deprecated": true,
"deprecationInfo": "Use the <code>onClose</code> prop with the <code>reason</code> argument to handle the <code>backdropClick</code> events."
},
"onClose": { "type": { "name": "func" } },
"slotProps": {
"type": {
"name": "shape",
"description": "{ backdrop?: func<br>| object, root?: func<br>| object }"
},
"default": "{}"
},
"slots": {
"type": { "name": "shape", "description": "{ backdrop?: elementType, root?: elementType }" },
"default": "{}"
}
},
"name": "ModalUnstyled",
"styles": {
"classes": ["root", "hidden"],
"globalClasses": { "root": "MuiModal-root", "hidden": "MuiModal-hidden" },
"name": null
},
"spread": true,
"forwardsRefTo": "HTMLDivElement",
"filename": "/packages/mui-base/src/ModalUnstyled/ModalUnstyled.js",
"inheritance": null,
"demos": "<ul><li><a href=\"/base/react-modal/\">Unstyled Modal</a></li></ul>",
"cssComponent": false
}