UNPKG

@amsterdam/bmi-component-library

Version:

A React component library based on ASC and Material-UI aimed at repurposing and sharing components across BMI projects

27 lines 631 B
import type { FC } from 'react'; type Props = { uri: string; contentType: ContentTypes | string; }; export declare enum ImageContentTypes { 'jpg' = 0, 'jpeg' = 1, 'image/jpg' = 2, 'image/jpeg' = 3, 'png' = 4, 'image/png' = 5, 'bmp' = 6, 'image/bmp' = 7, 'tif' = 8, 'tiff' = 9, 'image/tif' = 10, 'image/tiff' = 11 } export declare enum PDFContentTypes { 'application/pdf' = 0, 'pdf' = 1 } type ContentTypes = ImageContentTypes | PDFContentTypes; declare const DocumentRenderer: FC<Props>; export default DocumentRenderer; //# sourceMappingURL=DocumentRenderer.d.ts.map