89 lines
3.0 KiB
JSON
89 lines
3.0 KiB
JSON
|
|
{
|
||
|
|
"props": {
|
||
|
|
"children": { "type": { "name": "node" } },
|
||
|
|
"classes": { "type": { "name": "object" }, "additionalInfo": { "cssApi": true } },
|
||
|
|
"color": {
|
||
|
|
"type": {
|
||
|
|
"name": "union",
|
||
|
|
"description": "'error'<br>| 'info'<br>| 'primary'<br>| 'secondary'<br>| 'success'<br>| 'warning'<br>| string"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"component": { "type": { "name": "elementType" } },
|
||
|
|
"disabled": { "type": { "name": "bool" } },
|
||
|
|
"error": { "type": { "name": "bool" } },
|
||
|
|
"filled": { "type": { "name": "bool" } },
|
||
|
|
"focused": { "type": { "name": "bool" } },
|
||
|
|
"required": { "type": { "name": "bool" } },
|
||
|
|
"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/material/FormLabel';",
|
||
|
|
"import { FormLabel } from '@mui/material';"
|
||
|
|
],
|
||
|
|
"classes": [
|
||
|
|
{
|
||
|
|
"key": "asterisk",
|
||
|
|
"className": "MuiFormLabel-asterisk",
|
||
|
|
"description": "Styles applied to the asterisk element.",
|
||
|
|
"isGlobal": false
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"key": "colorSecondary",
|
||
|
|
"className": "MuiFormLabel-colorSecondary",
|
||
|
|
"description": "Styles applied to the root element if the color is secondary.",
|
||
|
|
"isGlobal": false
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"key": "disabled",
|
||
|
|
"className": "Mui-disabled",
|
||
|
|
"description": "State class applied to the root element if `disabled={true}`.",
|
||
|
|
"isGlobal": true
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"key": "error",
|
||
|
|
"className": "Mui-error",
|
||
|
|
"description": "State class applied to the root element if `error={true}`.",
|
||
|
|
"isGlobal": true
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"key": "filled",
|
||
|
|
"className": "MuiFormLabel-filled",
|
||
|
|
"description": "State class applied to the root element if `filled={true}`.",
|
||
|
|
"isGlobal": false
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"key": "focused",
|
||
|
|
"className": "Mui-focused",
|
||
|
|
"description": "State class applied to the root element if `focused={true}`.",
|
||
|
|
"isGlobal": true
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"key": "required",
|
||
|
|
"className": "Mui-required",
|
||
|
|
"description": "State class applied to the root element if `required={true}`.",
|
||
|
|
"isGlobal": true
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"key": "root",
|
||
|
|
"className": "MuiFormLabel-root",
|
||
|
|
"description": "Styles applied to the root element.",
|
||
|
|
"isGlobal": false
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"spread": true,
|
||
|
|
"themeDefaultProps": true,
|
||
|
|
"muiName": "MuiFormLabel",
|
||
|
|
"forwardsRefTo": "HTMLLabelElement",
|
||
|
|
"filename": "/packages/mui-material/src/FormLabel/FormLabel.js",
|
||
|
|
"inheritance": null,
|
||
|
|
"demos": "<ul><li><a href=\"/material-ui/react-checkbox/\">Checkbox</a></li>\n<li><a href=\"/material-ui/react-number-field/\">Number Field</a></li>\n<li><a href=\"/material-ui/react-radio-button/\">Radio Group</a></li>\n<li><a href=\"/material-ui/react-switch/\">Switch</a></li></ul>",
|
||
|
|
"cssComponent": false
|
||
|
|
}
|