@grapecity/gcpdfviewer
Version:
GcDocs PDF Viewer
18 lines (17 loc) • 665 B
TypeScript
/// <reference path="../vendor/react/react.d.ts" />
//@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;
render(): React.JSX.Element;
}