UNPKG

@pdf-viewer/react

Version:

A react-pdf-viewer component for React and Next.js. Suitable for react-pdf document.

8 lines (7 loc) 297 B
import { TextSelectionData } from '../types'; interface UseTextSelectionOptions { onTextSelect?: (selection: TextSelectionData | null) => void; pagesRef: HTMLElement | null; } export declare const useTextSelection: ({ onTextSelect, pagesRef }: UseTextSelectionOptions) => void; export {};