UNPKG

react-pdf-highlighter

Version:
22 lines (21 loc) 512 B
import { Component } from "react"; import "../style/Highlight.css"; import type { T_LTWH } from "../types.js"; declare type Props = { position: { boundingRect: T_LTWH; rects: Array<T_LTWH>; }; onClick?: () => void; onMouseOver?: () => void; onMouseOut?: () => void; comment: { emoji: string; text: string; }; isScrolledTo: boolean; }; export declare class Highlight extends Component<Props> { render(): JSX.Element; } export default Highlight;