import type { TFile } from 'librechat-data-provider'; import type { ExtendedFile } from '~/common'; export default function FileIcon({ file, fileType, }: { file?: ExtendedFile | TFile; fileType: { fill: string; paths: React.FC; title: string; }; }) { return ( {(file?.['progress'] ?? 1) >= 1 && <>{}} ); }