import type { TooltipProps } from '@mui/material'; import type { CSSProperties } from 'react'; import { Popper, type PopperProps } from '../popper'; import { StyledMenuWrapper } from './styles'; export type MenuProps = { width?: CSSProperties['width']; menuStyles?: CSSProperties; } & PopperProps & Omit; export const Menu = (props: MenuProps) => { const { width, menuStyles, content, placement = 'bottom-start', children, ...popperProps } = props; return content ? ( {content} } > {children} ) : null; }; export default Menu;