react-pdf-highlighter
Version:
Set of React components for PDF annotation
16 lines (15 loc) • 374 B
TypeScript
import { Component } from "react";
declare type Props = {
onMouseOver: (content: JSX.Element) => void;
popupContent: JSX.Element;
onMouseOut: () => void;
children: JSX.Element;
};
declare type State = {
mouseIn: boolean;
};
export declare class Popup extends Component<Props, State> {
state: State;
render(): JSX.Element;
}
export default Popup;