'use client' import { GlassCard } from './GlassCard' interface UploadStepProps { isDark: boolean previewUrl: string | null file: File | null removeHandwriting: boolean setRemoveHandwriting: (v: boolean) => void reconstructLayout: boolean setReconstructLayout: (v: boolean) => void inpaintingMethod: string setInpaintingMethod: (v: string) => void isPreviewing: boolean onDrop: (e: React.DragEvent) => void onFileSelect: (file: File) => void onPreview: () => void onQRClick: () => void } export function UploadStep({ isDark, previewUrl, file, removeHandwriting, setRemoveHandwriting, reconstructLayout, setReconstructLayout, inpaintingMethod, setInpaintingMethod, isPreviewing, onDrop, onFileSelect, onPreview, onQRClick }: UploadStepProps) { return (
{file?.name}
Klicke zum Ändern
Datei auswählen
Ziehe ein Bild hierher oder klicke
PNG, JPG, JPEG
> )}Mit Handy scannen
QR-Code scannen um Foto hochzuladen
Im lokalen Netzwerk
Die automatische Methode wählt die beste Option basierend auf dem Bildinhalt.