import { FileSources } from 'librechat-data-provider'; import ImagePreview from './ImagePreview'; import RemoveFile from './RemoveFile'; const Image = ({ imageBase64, url, onDelete, progress = 1, source = FileSources.local, }: { imageBase64?: string; url?: string; onDelete: () => void; progress: number; // between 0 and 1 source?: FileSources; }) => { return (