UNPKG

@afzalimdad9/react-file-preview

Version:

The url previewer is built using native html elements for previewing url of files of the following type

13 lines (12 loc) 400 B
import React from 'react'; interface Props { loader?: React.ReactNode; mimeType?: string; fileName?: string; src: string; onError?: (e: any) => void; autoPlay?: boolean; containerErrorStyle?: React.CSSProperties; } export default function FileViewer({ loader, mimeType, src, onError, fileName, autoPlay, containerErrorStyle, }: Props): JSX.Element; export {};