@afzalimdad9/react-file-preview
Version:
The url previewer is built using native html elements for previewing url of files of the following type
11 lines (10 loc) • 348 B
TypeScript
import { ReactEventHandler } from 'react';
interface Props {
src: string;
onError: ReactEventHandler<HTMLAudioElement>;
onLoad: ReactEventHandler<HTMLAudioElement>;
mimeType: string;
autoPlay: boolean;
}
export default function AudioViewer({ src, onError, onLoad, mimeType, autoPlay }: Props): JSX.Element;
export {};