UNPKG

react-documents

Version:
18 lines (17 loc) 579 B
import { CSSProperties } from 'react'; export declare type viewerType = 'google' | 'office' | 'mammoth' | 'pdf' | 'url'; interface Props { loaded?: () => void; url: string; queryParams: string; viewerUrl: string; googleCheckInterval: number; googleMaxChecks: number; googleCheckContentLoaded: boolean; viewer: viewerType; overrideLocalhost: string; style?: CSSProperties | undefined; className?: string | undefined; } export declare const DocumentViewer: (inputProps: Partial<Props>) => JSX.Element | null; export {};