Skip to content

Commit

Permalink
Revert "ran pnpm docs:api"
Browse files Browse the repository at this point in the history
This reverts commit 1f419af.
  • Loading branch information
skmanoj322 committed Mar 25, 2024
1 parent 1b9818b commit ad0fbd7
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 5 deletions.
16 changes: 15 additions & 1 deletion docs/pages/material-ui/api/badge.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"type": { "name": "shape", "description": "{ Badge?: elementType, Root?: elementType }" },
"default": "{}",
"deprecated": true,
"deprecationInfo": "use the <code>slots</code> prop instead. This prop will be removed in v7. <a href=\"/material-ui/migration/migrating-from-deprecated-apis/\">How to migrate</a>."
"deprecationInfo": "use the <code>slotProps</code> prop instead. This prop will be removed in v7. <a href=\"/material-ui/migration/migrating-from-deprecated-apis/\">How to migrate</a>."
},
"componentsProps": {
"type": {
Expand Down Expand Up @@ -68,6 +68,20 @@
},
"name": "Badge",
"imports": ["import Badge from '@mui/material/Badge';", "import { Badge } from '@mui/material';"],
"slots": [
{
"name": "badge",
"description": "",
"default": "",
"class": null
},
{
"name": "root",
"description": "",
"default": "",
"class": null
}
],
"classes": [
{
"key": "anchorOriginBottomLeft",
Expand Down
12 changes: 8 additions & 4 deletions docs/translations/api-docs/badge/badge.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,20 @@
"description": "The component used for the root node. Either a string to use a HTML element or a component."
},
"components": {
"description": "The components used for each slot inside.<br>This prop is an alias for the <code>slots</code> prop. It&#39;s recommended to use the <code>slots</code> prop instead."
"description": "The components used for each slot inside."
},
"componentsProps": {
"description": "The extra props for the slot components. You can override the existing props or add new ones.<br>This prop is an alias for the <code>slotProps</code> prop. It&#39;s recommended to use the <code>slotProps</code> prop instead, as <code>componentsProps</code> will be deprecated in the future."
"description": "The extra props for the slot components. You can override the existing props or add new ones."
},
"invisible": { "description": "If <code>true</code>, the badge is invisible." },
"max": { "description": "Max count to show." },
"overlap": { "description": "Wrapped shape the badge should overlap." },
"showZero": {
"description": "Controls whether the badge is hidden when <code>badgeContent</code> is zero."
},
"slotProps": { "description": "The props used for each slot inside the Badge." },
"slotProps": { "description": "The props used for each slot inside." },
"slots": {
"description": "The components used for each slot inside the Badge. Either a string to use a HTML element or a component."
"description": "The components used for each slot inside."
},
"sx": {
"description": "The system prop that allows defining system overrides as well as additional CSS styles."
Expand Down Expand Up @@ -153,5 +153,9 @@
"nodeName": "the badge <code>span</code> element",
"conditions": "<code>variant=\"standard\"</code>"
}
},
"slotDescriptions": {
"badge": "",
"root": ""
}
}

0 comments on commit ad0fbd7

Please sign in to comment.