Highlight Popover

API Reference

Props, render props, and the useHighlightPopover hook.

HighlightPopover

Prop

Type

renderPopover

renderPopover receives PopoverRenderProps:

Prop

Type

useHighlightPopover

Returns the state of the nearest HighlightPopover. Throws an error outside a HighlightPopover.

Prop

Type

Types

The package exports these types:

import type {
  HighlightPopoverProps,
  HighlightPopoverContextValue,
  PopoverRenderProps,
  PopoverPosition,
  PopoverAlignment,
  PopoverPlacement,
} from "@omsimos/react-highlight-popover";

On this page