UNPKG

@afzalimdad9/react-file-preview

Version:

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

9 lines (8 loc) 282 B
/// <reference types="react" /> interface Props { src: string; onError: (e: any) => void; onLoad: (value: boolean) => void; } declare const _default: import("react").MemoExoticComponent<({ src, onError, onLoad }: Props) => JSX.Element>; export default _default;