UNPKG

@mescius/dspdfviewer

Version:
19 lines (18 loc) 639 B
//@ts-ignore import React, { Component } from 'react'; import { AttachmentsModel } from './types'; import PdfReportPlugin from '../plugin'; import { FileAttachmentAnnotation } from '../Annotations/AnnotationTypes'; export type AttachmentsProps = { navigate: (node: FileAttachmentAnnotation) => void; navigatePdf: (node: FileAttachmentAnnotation) => void; plugin: PdfReportPlugin; }; export declare class Attachments extends Component<AttachmentsProps, AttachmentsModel> { private onItemClick; private onPdfClick; private renderAttachment; //@ts-ignore //@ts-ignore render(): React.JSX.Element; }