Skip to content

Commit

Permalink
update API docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeeshanTamboli committed Mar 5, 2024
1 parent 5afd8d0 commit 135ca8d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
14 changes: 8 additions & 6 deletions docs/pages/base-ui/api/form-control.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"description": "State class applied to {{nodeName}} if {{conditions}}.",
"nodeName": "the root element",
"conditions": "<code>required={true}</code>"
},
"root": { "description": "Class applied to the root element." }
}
}
},
"slotDescriptions": { "root": "The component that renders the root." }
}

0 comments on commit 135ca8d

Please sign in to comment.