{
"props": {
"children": { "type": { "name": "node" } },
"component": { "type": { "name": "elementType" } },
"inset": {
"type": {
"name": "union",
"description": "'none'
| 'context'
| string"
}
},
"orientation": {
"type": { "name": "enum", "description": "'horizontal'
| 'vertical'" },
"default": "'horizontal'"
},
"slotProps": {
"type": { "name": "shape", "description": "{ root?: func
| object }" },
"default": "{}"
},
"slots": {
"type": { "name": "shape", "description": "{ root?: elementType }" },
"default": "{}",
"additionalInfo": { "slotsApi": true }
},
"sx": {
"type": {
"name": "union",
"description": "Array<func
| object
| bool>
| func
| object"
},
"additionalInfo": { "sx": true }
}
},
"name": "Divider",
"imports": ["import Divider from '@mui/joy/Divider';", "import { Divider } from '@mui/joy';"],
"slots": [
{
"name": "root",
"description": "The component that renders the root.",
"default": "'hr'",
"class": "MuiDivider-root"
}
],
"classes": [
{
"key": "horizontal",
"className": "MuiDivider-horizontal",
"description": "Class name applied to the root element if `orientation=\"horizontal\"`.",
"isGlobal": false
},
{
"key": "insetContext",
"className": "MuiDivider-insetContext",
"description": "Class name applied to the root element if `inset=\"context\"`.",
"isGlobal": false
},
{
"key": "insetNone",
"className": "MuiDivider-insetNone",
"description": "Class name applied to the root element if `inset=\"none\"`.",
"isGlobal": false
},
{
"key": "vertical",
"className": "MuiDivider-vertical",
"description": "Class name applied to the root element if `orientation=\"vertical\"`.",
"isGlobal": false
}
],
"spread": true,
"themeDefaultProps": true,
"muiName": "JoyDivider",
"forwardsRefTo": "HTMLHRElement",
"filename": "/packages/mui-joy/src/Divider/Divider.tsx",
"inheritance": null,
"demos": "