import type { ImportedMediaAsset } from '../app/application-state'; import { assetDurationSeconds, assetHasVideo, formatBytes, formatDuration, } from '../app/application-state'; import { Icon } from './Icon'; export interface MediaBinProps { assets: readonly ImportedMediaAsset[]; selectedId?: string; onSelect: (id: string) => void; onInspect: (id: string) => void; inspectDisabled?: boolean; removeDisabled?: boolean; onRemove: (id: string) => void; } export function MediaBin({ assets, selectedId, onSelect, onInspect, inspectDisabled = false, removeDisabled = false, onRemove, }: MediaBinProps) { if (assets.length === 0) { return (

Your source files will appear here.

); } return ( ); }