import { Camera, ChevronLeft, ImagePlus, Loader2 } from 'lucide-react' import { t } from '../lib/i18n' import type { Lang } from '../lib/types' interface Props { lang: Lang imageSrc: string imageDims: { w: number; h: number } busy: boolean modelReady: boolean onBack: () => void onRetake: () => void onGallery: () => void onCount: () => void } export function StepPreview({ lang, imageSrc, imageDims, busy, modelReady, onBack, onRetake, onGallery, onCount, }: Props) { const ar = imageDims.h / Math.max(imageDims.w, 1) const maxPreviewH = Math.min(ar * 100, 62) return (
Preview

{imageDims.w} × {imageDims.h}

) }