function LocalFilePreview
LocalFilePreview(unnamed 0: LocalFilePreviewProps): React.JSX.Element | null

Renders an image, video or audio file from a blob URL, which it revokes when file changes or it unmounts. Any other file renders nothing.

Parameters

Return Type

React.JSX.Element | null

Usage

import { LocalFilePreview } from "src/components/dump/create/LocalFilePreview.tsx";