1 | import * as React from "react";
|
2 | import type { ContextMenuPopoverOptions, Offset } from "./contextMenuShared";
|
3 | export interface ContextMenuPopoverProps extends ContextMenuPopoverOptions {
|
4 | isOpen: boolean;
|
5 | isDarkTheme?: boolean;
|
6 | content: React.JSX.Element;
|
7 | onClose?: () => void;
|
8 | targetOffset: Offset | undefined;
|
9 | }
|
10 | /**
|
11 | * A floating popover which is positioned at a given target offset inside its parent element container.
|
12 | * Used to display context menus. Note that this behaves differently from other popover components like
|
13 | * Popover and Tooltip, which wrap their children with interaction handlers -- if you're looking for the whole
|
14 | * interaction package, use ContextMenu instead.
|
15 | *
|
16 | * @see https://blueprintjs.com/docs/#core/components/context-menu-popover
|
17 | */
|
18 | export declare const ContextMenuPopover: React.NamedExoticComponent<ContextMenuPopoverProps>;
|