react-pdf-highlighter-extended

Type alias HighlightContainerUtils<T>

HighlightContainerUtils<T>: {
    highlight: ViewportHighlight<T>;
    highlightBindings: HighlightBindings;
    isScrolledTo: boolean;
    screenshot(position): string;
    viewportToScaled(rect): Scaled;
}

A set of utilities for rendering highlights. Designed to be used within a highlight container.

Type Parameters

Type declaration