jagran-react-doc-viewer
Version:
A highly customizable React document viewer with support for PDF, DOCX, PPTX, images, and more
14 lines • 439 B
TypeScript
import React from 'react';
import { DocumentSource } from '../types';
import { ThumbnailOptions } from '../utils/thumbnailGenerator';
interface ThumbnailProps {
document: DocumentSource;
options?: ThumbnailOptions;
className?: string;
style?: React.CSSProperties;
onClick?: () => void;
loading?: boolean;
}
export declare const Thumbnail: React.FC<ThumbnailProps>;
export {};
//# sourceMappingURL=Thumbnail.d.ts.map