Component
File Dropzone
A drag-and-drop file upload component with image preview, validation, and error handling.
Installation
Usage
import { FileDropzone } from '@/components/file-dropzone'
<FileDropzone
accept="image/png,image/jpeg"
maxSizeMB={5}
onUpload={handleUpload}
/>