import { Nullable } from '../../../../types/index.js'; import { OnyxBasicPopoverProps } from '../../../OnyxBasicPopover/types.js'; export type OnyxFlyoutMenuProps = Pick & { /** * Aria label for the flyout. */ label: string; /** * If the flyout is expanded on click or hover. * The default value is 'hover' which will expand the flyout on hover. */ trigger?: "hover" | "click"; /** * Indicates whether the element is expanded or collapsed. */ open?: Nullable; /** * Whether the flyout is disabled and can not be opened. */ disabled?: boolean; };