deepdata: core product code (backend, frontend, runtime, deepflow module)

This commit is contained in:
figmar
2026-08-30 19:23:38 +08:00
commit bd3db30be9
1405 changed files with 271727 additions and 0 deletions
@@ -0,0 +1,29 @@
import React from 'react';
export interface ImagePreviewProps {
blobUrl?: string;
alt?: string;
}
export const ImagePreview: React.FC<ImagePreviewProps> = ({
blobUrl,
alt = 'Preview'
}) => {
if (!blobUrl) {
return (
<div className="flex items-center justify-center h-full text-gray-400">
No image available
</div>
);
}
return (
<div className="flex items-center justify-center h-full bg-gray-50">
<img
src={blobUrl}
alt={alt}
className="max-w-full max-h-[600px] object-contain"
/>
</div>
);
};