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
77 lines
2.3 KiB
JSON
77 lines
2.3 KiB
JSON
{
|
|
"props": {
|
|
"children": { "type": { "name": "node" } },
|
|
"component": { "type": { "name": "elementType" } },
|
|
"inset": {
|
|
"type": {
|
|
"name": "union",
|
|
"description": "'none'<br>| 'context'<br>| string"
|
|
}
|
|
},
|
|
"orientation": {
|
|
"type": { "name": "enum", "description": "'horizontal'<br>| 'vertical'" },
|
|
"default": "'horizontal'"
|
|
},
|
|
"slotProps": {
|
|
"type": { "name": "shape", "description": "{ root?: func<br>| object }" },
|
|
"default": "{}"
|
|
},
|
|
"slots": {
|
|
"type": { "name": "shape", "description": "{ root?: elementType }" },
|
|
"default": "{}",
|
|
"additionalInfo": { "slotsApi": true }
|
|
},
|
|
"sx": {
|
|
"type": {
|
|
"name": "union",
|
|
"description": "Array<func<br>| object<br>| bool><br>| func<br>| 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": "<ul><li><a href=\"/joy-ui/react-divider/\">Divider</a></li></ul>",
|
|
"cssComponent": false
|
|
}
|