Skip to content

HoverMenuProps

type HoverMenuProps = Omit<ActionPanelProps, "placement" | "dismissOnOutsideClick"> & {
dismissOnOutsideClick?: boolean;
placement?: ActionPanelProps["placement"];
};

Defined in: react/src/index.tsx:519

— a thin wrapper around ActionPanel intended for transient affordances like formatting toolbars that follow a selection or a hovered block. Default placement is ‘top-start’ (above the anchor) and outside clicks do not dismiss it (the parent is expected to drive open state).

optional dismissOnOutsideClick?: boolean;
optional placement?: ActionPanelProps["placement"];