import type { FlyoutContentProps } from "../Flyout"; import type { MenuItemProps } from "../MenuItem"; import type { PopoverProps, PopoverInstance } from "../Popover"; import type React from "react"; export type Instance = PopoverInstance; export type Props = Pick & { /** Change component trap focus keyboard behavior and shortcuts */ trapFocusMode?: Extract | false; }; export type ContentProps = Pick; export type ItemProps = Omit; export type SectionProps = { /** Node for inserting children */ children: React.ReactNode; }; export type SubMenuProps = { /** Node for inserting children */ children: React.ReactNode; } & Pick; export type SubTriggerProps = Omit;