import { CreateSlotsAndSlotProps, SlotCommonProps, SlotProps } from '../types/slot'; import { OverrideProps } from '@mui/types'; import { ListItemButtonProps } from '../ListItemButton'; export type MenuItemSlot = 'root'; export interface MenuItemSlots { /** * The component that renders the root. * @default 'li' */ root?: React.ElementType; } export type MenuItemSlotsAndSlotProps = CreateSlotsAndSlotProps; }>; export interface MenuItemTypeMap

{ props: P & Omit, 'slots' | 'slotProps'> & MenuItemSlotsAndSlotProps; defaultComponent: D; } export type MenuItemProps = OverrideProps, D>; export interface MenuItemOwnerState extends MenuItemProps { /** * If `true`, the element's focus is visible. */ focusVisible?: boolean; }