UNPKG

react-pdf-highlighter

Version:
16 lines (15 loc) 438 B
import { Component } from "react"; declare type Props = { onMoveAway: () => void; paddingX: number; paddingY: number; children: JSX.Element; }; declare class MouseMonitor extends Component<Props> { container: HTMLDivElement | null; unsubscribe: () => void; onMouseMove: (event: MouseEvent) => void; attachRef: (ref: HTMLDivElement | null) => void; render(): JSX.Element; } export default MouseMonitor;