Files
react-test/docs/pages/material-ui/api/divider.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

142 lines
4.7 KiB
JSON

{
"props": {
"absolute": { "type": { "name": "bool" }, "default": "false" },
"children": { "type": { "name": "node" } },
"classes": { "type": { "name": "object" }, "additionalInfo": { "cssApi": true } },
"component": { "type": { "name": "elementType" } },
"flexItem": { "type": { "name": "bool" }, "default": "false" },
"light": {
"type": { "name": "bool" },
"default": "false",
"deprecated": true,
"deprecationInfo": "Use &lt;Divider sx={{ opacity: 0.6 }} /&gt; (or any opacity or color) instead. See <a href=\"https://mui.com/material-ui/migration/migrating-from-deprecated-apis/\">Migrating from deprecated APIs</a> for more details."
},
"orientation": {
"type": { "name": "enum", "description": "'horizontal'<br>&#124;&nbsp;'vertical'" },
"default": "'horizontal'"
},
"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 }
},
"textAlign": {
"type": {
"name": "enum",
"description": "'center'<br>&#124;&nbsp;'left'<br>&#124;&nbsp;'right'"
},
"default": "'center'"
},
"variant": {
"type": {
"name": "union",
"description": "'fullWidth'<br>&#124;&nbsp;'inset'<br>&#124;&nbsp;'middle'<br>&#124;&nbsp;string"
},
"default": "'fullWidth'"
}
},
"name": "Divider",
"imports": [
"import Divider from '@mui/material/Divider';",
"import { Divider } from '@mui/material';"
],
"classes": [
{
"key": "absolute",
"className": "MuiDivider-absolute",
"description": "Styles applied to the root element if `absolute={true}`.",
"isGlobal": false
},
{
"key": "flexItem",
"className": "MuiDivider-flexItem",
"description": "Styles applied to the root element if `flexItem={true}`.",
"isGlobal": false
},
{
"key": "fullWidth",
"className": "MuiDivider-fullWidth",
"description": "Styles applied to the root element if `variant=\"fullWidth\"`.",
"isGlobal": false
},
{
"key": "inset",
"className": "MuiDivider-inset",
"description": "Styles applied to the root element if `variant=\"inset\"`.",
"isGlobal": false
},
{
"key": "light",
"className": "MuiDivider-light",
"description": "Styles applied to the root element if `light={true}`.",
"isGlobal": false,
"isDeprecated": true
},
{
"key": "middle",
"className": "MuiDivider-middle",
"description": "Styles applied to the root element if `variant=\"middle\"`.",
"isGlobal": false
},
{
"key": "root",
"className": "MuiDivider-root",
"description": "Styles applied to the root element.",
"isGlobal": false
},
{
"key": "textAlignLeft",
"className": "MuiDivider-textAlignLeft",
"description": "Styles applied to the root element if `textAlign=\"left\" orientation=\"horizontal\"`.",
"isGlobal": false
},
{
"key": "textAlignRight",
"className": "MuiDivider-textAlignRight",
"description": "Styles applied to the root element if `textAlign=\"right\" orientation=\"horizontal\"`.",
"isGlobal": false
},
{
"key": "vertical",
"className": "MuiDivider-vertical",
"description": "Styles applied to the root element if `orientation=\"vertical\"`.",
"isGlobal": false
},
{
"key": "withChildren",
"className": "MuiDivider-withChildren",
"description": "Styles applied to the root element if divider have text.",
"isGlobal": false
},
{
"key": "withChildrenVertical",
"className": "MuiDivider-withChildrenVertical",
"description": "Styles applied to the root element if divider have text and `orientation=\"vertical\"`.",
"isGlobal": false,
"isDeprecated": true
},
{
"key": "wrapper",
"className": "MuiDivider-wrapper",
"description": "Styles applied to the span children element if `orientation=\"horizontal\"`.",
"isGlobal": false
},
{
"key": "wrapperVertical",
"className": "MuiDivider-wrapperVertical",
"description": "Styles applied to the span children element if `orientation=\"vertical\"`.",
"isGlobal": false
}
],
"spread": true,
"themeDefaultProps": true,
"muiName": "MuiDivider",
"forwardsRefTo": "HTMLHRElement",
"filename": "/packages/mui-material/src/Divider/Divider.js",
"inheritance": null,
"demos": "<ul><li><a href=\"/material-ui/react-divider/\">Divider</a></li>\n<li><a href=\"/material-ui/react-list/\">Lists</a></li></ul>",
"cssComponent": false
}