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
30 lines
1.2 KiB
JSON
30 lines
1.2 KiB
JSON
{
|
|
"componentDescription": "An unstyled menu item to be used within a Menu.",
|
|
"propDescriptions": {
|
|
"disabled": { "description": "If <code>true</code>, the menu item will be disabled." },
|
|
"disableFocusOnHover": {
|
|
"description": "If <code>true</code>, the menu item won't receive focus when the mouse moves over it."
|
|
},
|
|
"label": {
|
|
"description": "A text representation of the menu item's content. Used for keyboard text navigation matching."
|
|
},
|
|
"slotProps": { "description": "The props used for each slot inside the MenuItem." },
|
|
"slots": {
|
|
"description": "The components used for each slot inside the MenuItem. Either a string to use a HTML element or a component."
|
|
}
|
|
},
|
|
"classDescriptions": {
|
|
"disabled": {
|
|
"description": "State class applied to {{nodeName}} if {{conditions}}.",
|
|
"nodeName": "the root <code>button</code> element",
|
|
"conditions": "<code>disabled={true}</code>"
|
|
},
|
|
"focusVisible": {
|
|
"description": "State class applied to {{nodeName}} if {{conditions}}.",
|
|
"nodeName": "the root <code>button</code> element",
|
|
"conditions": "<code>focusVisible={true}</code>"
|
|
}
|
|
},
|
|
"slotDescriptions": { "root": "The component that renders the root." }
|
|
}
|