react-pdf-selection
Version:
Library of React components needed for text and area selections in PDF documents.
7 lines (6 loc) • 306 B
TypeScript
/// <reference types="react" />
import { TextSelectionWithCSSProperties } from "../types";
export declare type TextSelectionProps<D extends object = {}> = {
textSelection: TextSelectionWithCSSProperties<D>;
};
export declare const TextSelection: ({ textSelection }: TextSelectionProps) => JSX.Element;