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
90 lines
2.8 KiB
JSON
90 lines
2.8 KiB
JSON
{
|
|
"props": {
|
|
"active": { "type": { "name": "bool" }, "default": "false" },
|
|
"children": { "type": { "name": "node" } },
|
|
"completed": { "type": { "name": "bool" }, "default": "false" },
|
|
"component": { "type": { "name": "elementType" } },
|
|
"disabled": { "type": { "name": "bool" }, "default": "false" },
|
|
"indicator": { "type": { "name": "node" } },
|
|
"orientation": {
|
|
"type": { "name": "enum", "description": "'horizontal'<br>| 'vertical'" },
|
|
"default": "'horizontal'"
|
|
},
|
|
"slotProps": {
|
|
"type": {
|
|
"name": "shape",
|
|
"description": "{ indicator?: func<br>| object, root?: func<br>| object }"
|
|
},
|
|
"default": "{}"
|
|
},
|
|
"slots": {
|
|
"type": { "name": "shape", "description": "{ indicator?: elementType, 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": "Step",
|
|
"imports": ["import Step from '@mui/joy/Step';", "import { Step } from '@mui/joy';"],
|
|
"slots": [
|
|
{
|
|
"name": "root",
|
|
"description": "The component that renders the root.",
|
|
"default": "'li'",
|
|
"class": "MuiStep-root"
|
|
},
|
|
{
|
|
"name": "indicator",
|
|
"description": "The component that renders the indicator.",
|
|
"default": "'div'",
|
|
"class": "MuiStep-indicator"
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"key": "active",
|
|
"className": "Mui-active",
|
|
"description": "Class name applied to the root element if `active` is true.",
|
|
"isGlobal": true
|
|
},
|
|
{
|
|
"key": "completed",
|
|
"className": "Mui-completed",
|
|
"description": "Class name applied to the root element if `completed` is true.",
|
|
"isGlobal": true
|
|
},
|
|
{
|
|
"key": "disabled",
|
|
"className": "Mui-disabled",
|
|
"description": "Class name applied to the root element if `disabled` is true.",
|
|
"isGlobal": true
|
|
},
|
|
{
|
|
"key": "horizontal",
|
|
"className": "MuiStep-horizontal",
|
|
"description": "Class name applied to the root element if `orientation=\"horizontal\"`.",
|
|
"isGlobal": false
|
|
},
|
|
{
|
|
"key": "vertical",
|
|
"className": "MuiStep-vertical",
|
|
"description": "Class name applied to the root element if `orientation=\"vertical\"`.",
|
|
"isGlobal": false
|
|
}
|
|
],
|
|
"spread": true,
|
|
"themeDefaultProps": true,
|
|
"muiName": "JoyStep",
|
|
"forwardsRefTo": "HTMLLIElement",
|
|
"filename": "/packages/mui-joy/src/Step/Step.tsx",
|
|
"inheritance": null,
|
|
"demos": "<ul><li><a href=\"/joy-ui/react-stepper/\">Stepper</a></li></ul>",
|
|
"cssComponent": false
|
|
}
|