MCPcopy Create free account
hub / github.com/Icecubesaad/OpenLLM-Studio / HfModelFileItemProps

Interface HfModelFileItemProps

src/components/HfModelFileItem.tsx:4–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2import { formatBytes, getCompatibilityBadge, formatSpeed, formatETA } from '../lib/utils';
3
4interface HfModelFileItemProps {
5 file: HfModelFile;
6 hardwareInfo: HardwareInfo | null;
7 onDownload: () => void;
8 downloadProgress?: HfDownloadProgress;
9 isInstalled?: boolean;
10}
11
12export function HfModelFileItem({ file, hardwareInfo, onDownload, downloadProgress, isInstalled = false }: HfModelFileItemProps) {
13 const isDownloading = !!downloadProgress;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected