UNPKG

react-pdf-highlighter

Version:
22 lines (21 loc) 504 B
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;