import { MenuItemProps } from "./MenuItem.mjs"; import { MenuSectionProps } from "./MenuSection.mjs"; import { PopoverProps } from "../Overlay/Popover.mjs"; import { SlotProps } from "../types.mjs"; import { Key, ReactNode, Ref } from "react"; import RAC from "react-aria-components"; type RemovedProps = 'isOpen' | 'className' | 'style' | 'children' | 'slot'; export interface ActionMenuProps extends Omit, Omit, RemovedProps>, SlotProps { /** * Whether the menu is open. * @default false */ open?: RAC.MenuTriggerProps['isOpen']; /** * Placement of the popover. * @default 'bottom' */ placement?: PopoverProps['placement']; /** * Visual variant of the trigger button. When unset, the trigger inherits the * surrounding cascade: `'ghost'` inside `` / ``, * the group's variant inside ``, or the standalone `