Some checks failed
No response / noResponse (push) Has been cancelled
CI / Continuous releases (push) Has been cancelled
CI / test-dev (macos-latest) (push) Has been cancelled
CI / test-dev (ubuntu-latest) (push) Has been cancelled
CI / test-dev (windows-latest) (push) Has been cancelled
Maintenance / main (push) Has been cancelled
Scorecards supply-chain security / Scorecards analysis (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
28 lines
1.1 KiB
JSON
28 lines
1.1 KiB
JSON
{
|
|
"componentDescription": "",
|
|
"propDescriptions": {
|
|
"badgeContent": { "description": "The content rendered within the badge." },
|
|
"children": { "description": "The badge will be added relative to this node." },
|
|
"invisible": { "description": "If <code>true</code>, the badge is invisible." },
|
|
"max": { "description": "Max count to show." },
|
|
"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." },
|
|
"slots": {
|
|
"description": "The components used for each slot inside the Badge. Either a string to use a HTML element or a component."
|
|
}
|
|
},
|
|
"classDescriptions": {
|
|
"invisible": {
|
|
"description": "State class applied to {{nodeName}} if {{conditions}}.",
|
|
"nodeName": "the badge <code>span</code> element",
|
|
"conditions": "<code>invisible={true}</code>"
|
|
}
|
|
},
|
|
"slotDescriptions": {
|
|
"badge": "The component that renders the badge.",
|
|
"root": "The component that renders the root."
|
|
}
|
|
}
|