'use client'; import { Upload } from 'lucide-react'; import { SUPPORTED_EXTENSIONS } from '../utils/wordCount'; interface DropZoneProps { isDragging: boolean; onDrop: (e: React.DragEvent) => void; onDragOver: (e: React.DragEvent) => void; onDragLeave: () => void; onClick: () => void; } export function DropZone({ isDragging, onDrop, onDragOver, onDragLeave, onClick, }: DropZoneProps) { return (
{isDragging ? 'Drop file here' : 'Drag & drop or click to browse'}
Supported: {SUPPORTED_EXTENSIONS.join(', ')} ยท Max 50 MB