import type React from "react"; import type { FlyoutContentProps } from "../../components/Flyout"; import type { MenuItemProps } from "../../components/MenuItem"; import type { PopoverInstance, PopoverProps } from "../../components/Popover"; 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;