react-pdf-highlighter
Version:
Set of React components for PDF annotation
21 lines (20 loc) • 476 B
TypeScript
import { Component } from 'react';
interface State {
compact: boolean;
text: string;
emoji: string;
}
interface Props {
onConfirm: (comment: {
text: string;
emoji: string;
}) => void;
onOpen: () => void;
onUpdate?: () => void;
}
export declare class Tip extends Component<Props, State> {
state: State;
componentDidUpdate(_: Props, nextState: State): void;
render(): import("react/jsx-runtime").JSX.Element;
}
export {};