interface FilePreviewProps

Passed to FilePreview by DumpCard (compact), by Dump (global) and by DumpEdit (neither).

Properties

Expected to be a file dump. A link dump has no fileMime, so it shows as a download.

optional
compact: boolean

Shows a card's thumbnail, whose play button uses the global player.

optional
global: boolean

Plays full-size audio and video in the global player, not inline.

Usage

import { type FilePreviewProps } from "src/components/dump/FilePreview.tsx";