UNPKG

react-pdf-highlighter

Version:
26 lines (25 loc) 621 B
import { Component } from "react"; import type { T_LTWH } from "../types"; declare type State = { height: number; width: number; }; declare type Props = { children: JSX.Element | null; style: { top: number; left: number; bottom: number; }; scrollTop: number; pageBoundingRect: T_LTWH; }; declare class TipContainer extends Component<Props, State> { state: State; node: HTMLDivElement | null; componentDidUpdate(nextProps: Props): void; componentDidMount(): void; updatePosition: () => void; render(): JSX.Element; } export default TipContainer;