/
githubmirror
/
material-ui
Обзор
Документация
Войти
/
githubmirror
/
material-ui
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
docs/translations/api-docs/menu/menu.json
49 строк
3 KB
Siriwat K
[Popover][Menu][Select] Remove deprecated props (#48021)
19 мар 2026, 14:11
Не верифицирован
19 мар 2026, 14:11
1700f7c
Код
Авторство
О чём код?
{ "componentDescription": "", "propDescriptions": { "anchorEl": { "description": "An HTML element, or a function that returns one. It's used to set the position of the menu." }, "autoFocus": { "description": "If <code>true</code> (Default) will focus the <code>[role="menu"]</code> if no focusable child is found. Disabled children are not focusable. If you set this prop to <code>false</code> focus will be placed on the parent modal container. This has severe accessibility implications and should only be considered if you manage focus otherwise." }, "children": { "description": "Menu contents, normally <code>MenuItem</code>s." }, "classes": { "description": "Override or extend the styles applied to the component." }, "disableAutoFocusItem": { "description": "When opening the menu will not focus the active item but the <code>[role="menu"]</code> unless <code>autoFocus</code> is also set to <code>false</code>. Not using the default means not following WAI-ARIA authoring practices. Please be considerate about possible accessibility implications." }, "onClose": { "description": "Callback fired when the component requests to be closed.", "typeDescriptions": { "event": { "name": "event", "description": "The event source of the callback." }, "reason": { "name": "reason", "description": "Can be: <code>"escapeKeyDown"</code>, <code>"backdropClick"</code>, <code>"tabKeyDown"</code>." } } }, "open": { "description": "If <code>true</code>, the component is shown." }, "PopoverClasses": { "description": "<code>classes</code> prop applied to the <a href=\"https://mui.com/material-ui/api/popover/\"><code>Popover</code></a> element." }, "slotProps": { "description": "The props used for each slot inside." }, "slots": { "description": "The components used for each slot inside." }, "sx": { "description": "The system prop that allows defining system overrides as well as additional CSS styles." }, "transitionDuration": { "description": "The length of the transition in <code>ms</code>, or 'auto'" }, "variant": { "description": "The variant to use. Use <code>menu</code> to prevent selected items from impacting the initial focus." } }, "classDescriptions": {}, "slotDescriptions": { "backdrop": "The component used for the backdrop slot.", "list": "The component used for the list.", "paper": "The component used for the paper.", "root": "The component used for the popper.", "transition": "The component used for the transition slot." } }