import type { ReactNode } from 'react'; import type { BoxProps } from '@mui/material/Box'; import type { PopperProps } from '@mui/material/Popper'; import type { SxProps, Theme } from '@mui/material/styles'; export interface MenuProps extends Omit { /** Menu items or any custom content rendered inside the dropdown panel */ children: ReactNode; /** sx applied to `MenuStyled` (Popper positioning layer only) */ popperSx?: SxProps; /** Extra props forwarded to `MenuPanelStyled` (the visible panel) */ panelProps?: BoxProps; /** Consumer className — forwarded to `MenuStyled` (Popper), merged with the `popper` slot class */ className?: string; /** MUI sx style overrides — forwarded to `MenuPanelStyled` (the visible panel) */ sx?: SxProps; }