@afzalimdad9/react-file-preview
Version:
The url previewer is built using native html elements for previewing url of files of the following type
15 lines (13 loc) • 448 B
TypeScript
import React from "react";
interface Props {
loader?: React.ReactNode;
mimeType?: string;
fileName?: string;
src: string;
onError?: (e: any) => void;
autoPlay?: boolean;
containerErrorStyle?: React.CSSProperties;
}
declare function FileViewer({ loader, mimeType, src, onError, fileName, autoPlay, containerErrorStyle, }: Props): JSX.Element;
export default FileViewer;
//# sourceMappingURL=types.d.ts.map