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
55 lines
1.6 KiB
JSON
55 lines
1.6 KiB
JSON
{
|
|
"props": {
|
|
"children": { "type": { "name": "node" } },
|
|
"component": { "type": { "name": "elementType" } },
|
|
"required": { "type": { "name": "bool" } },
|
|
"slotProps": {
|
|
"type": {
|
|
"name": "shape",
|
|
"description": "{ asterisk?: func<br>| object, root?: func<br>| object }"
|
|
},
|
|
"default": "{}"
|
|
},
|
|
"slots": {
|
|
"type": { "name": "shape", "description": "{ asterisk?: 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": "FormLabel",
|
|
"imports": [
|
|
"import FormLabel from '@mui/joy/FormLabel';",
|
|
"import { FormLabel } from '@mui/joy';"
|
|
],
|
|
"slots": [
|
|
{
|
|
"name": "root",
|
|
"description": "The component that renders the root.",
|
|
"default": "'label'",
|
|
"class": "MuiFormLabel-root"
|
|
},
|
|
{
|
|
"name": "asterisk",
|
|
"description": "The component that renders the asterisk.",
|
|
"default": "'span'",
|
|
"class": "MuiFormLabel-asterisk"
|
|
}
|
|
],
|
|
"classes": [],
|
|
"spread": true,
|
|
"themeDefaultProps": true,
|
|
"muiName": "JoyFormLabel",
|
|
"forwardsRefTo": "HTMLLabelElement",
|
|
"filename": "/packages/mui-joy/src/FormLabel/FormLabel.tsx",
|
|
"inheritance": null,
|
|
"demos": "<ul><li><a href=\"/joy-ui/react-input/\">Input</a></li></ul>",
|
|
"cssComponent": false
|
|
}
|