diff --git a/docs/pages/base-ui/api/form-control.json b/docs/pages/base-ui/api/form-control.json index 5c6df584fe21b6..348977e689415a 100644 --- a/docs/pages/base-ui/api/form-control.json +++ b/docs/pages/base-ui/api/form-control.json @@ -22,6 +22,14 @@ "import { FormControl } from '@mui/base/FormControl';", "import { FormControl } from '@mui/base';" ], + "slots": [ + { + "name": "root", + "description": "The component that renders the root.", + "default": "'div'", + "class": "base-FormControl-root" + } + ], "classes": [ { "key": "disabled", @@ -52,12 +60,6 @@ "className": "base--required", "description": "State class applied to the root element if `required={true}`.", "isGlobal": true - }, - { - "key": "root", - "className": "base-FormControl-root", - "description": "Class applied to the root element.", - "isGlobal": false } ], "spread": true, diff --git a/docs/translations/api-docs-base/form-control/form-control.json b/docs/translations/api-docs-base/form-control/form-control.json index 2766bb5bcaf993..867fd6d23d4279 100644 --- a/docs/translations/api-docs-base/form-control/form-control.json +++ b/docs/translations/api-docs-base/form-control/form-control.json @@ -42,7 +42,7 @@ "description": "State class applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "required={true}" - }, - "root": { "description": "Class applied to the root element." } - } + } + }, + "slotDescriptions": { "root": "The component that renders the root." } }