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