MenuItemUnstyled API
Importação
import MenuItemUnstyled from '@mui/base/MenuItemUnstyled';
// ou
import { MenuItemUnstyled } from '@mui/base';Propriedades
Propriedades do componente nativo também estão disponíveis.
| Nome | Tipo | Padrão | Descrição |
|---|---|---|---|
| component | elementType | The component used for the root node. Either a string to use a HTML element or a component. | |
| disabled | bool | false | If true, the menu item will be disabled. |
| label | string | A text representation of the menu item's content. Used for keyboard text navigation matching. | |
| slotProps | { root?: func | object } | {} | |
| slots | { root?: elementType } | {} |
O
ref é encaminhado para o elemento raiz.