diff --git a/src/material/Menu.tsx b/src/material/Menu.tsx index 44628f9..0ca0f69 100644 --- a/src/material/Menu.tsx +++ b/src/material/Menu.tsx @@ -14,6 +14,7 @@ import { animateGrowFromTopRight, animateShrinkToTopRight, } from "../platform/anim"; +import type { MenuListProps } from "@suid/material/MenuList"; export type Anchor = Pick & { e?: number }; @@ -22,6 +23,7 @@ export type MenuProps = ParentProps< open?: boolean; onClose?: JSX.EventHandlerUnion; anchor: () => Anchor; + MenuListProps?: MenuListProps; id?: string; } & JSX.AriaAttributes @@ -213,11 +215,8 @@ const Menu: Component = (props) => { tabIndex={-1} {...rest} > -