{
"props": {
"children": { "type": { "name": "node" } },
"classes": { "type": { "name": "object" }, "additionalInfo": { "cssApi": true } },
"color": {
"type": {
"name": "union",
"description": "'primary'
| 'secondary'
| 'error'
| 'info'
| 'success'
| 'warning'
| string"
},
"default": "'primary'"
},
"component": { "type": { "name": "elementType" } },
"disabled": { "type": { "name": "bool" }, "default": "false" },
"error": { "type": { "name": "bool" }, "default": "false" },
"focused": { "type": { "name": "bool" } },
"fullWidth": { "type": { "name": "bool" }, "default": "false" },
"hiddenLabel": { "type": { "name": "bool" }, "default": "false" },
"margin": {
"type": {
"name": "enum",
"description": "'dense'
| 'none'
| 'normal'"
},
"default": "'none'"
},
"required": { "type": { "name": "bool" }, "default": "false" },
"size": {
"type": {
"name": "union",
"description": "'medium'
| 'small'
| string"
},
"default": "'medium'"
},
"sx": {
"type": {
"name": "union",
"description": "Array<func
| object
| bool>
| func
| object"
},
"additionalInfo": { "sx": true }
},
"variant": {
"type": {
"name": "enum",
"description": "'filled'
| 'outlined'
| 'standard'"
},
"default": "'outlined'"
}
},
"name": "FormControl",
"imports": [
"import FormControl from '@mui/material/FormControl';",
"import { FormControl } from '@mui/material';"
],
"classes": [
{
"key": "fullWidth",
"className": "MuiFormControl-fullWidth",
"description": "Styles applied to the root element if `fullWidth={true}`.",
"isGlobal": false
},
{
"key": "marginDense",
"className": "MuiFormControl-marginDense",
"description": "Styles applied to the root element if `margin=\"dense\"`.",
"isGlobal": false
},
{
"key": "marginNormal",
"className": "MuiFormControl-marginNormal",
"description": "Styles applied to the root element if `margin=\"normal\"`.",
"isGlobal": false
},
{
"key": "root",
"className": "MuiFormControl-root",
"description": "Styles applied to the root element.",
"isGlobal": false
}
],
"spread": true,
"themeDefaultProps": true,
"muiName": "MuiFormControl",
"forwardsRefTo": "HTMLDivElement",
"filename": "/packages/mui-material/src/FormControl/FormControl.js",
"inheritance": null,
"demos": "