UNPKG

smart-dropzone-react

Version:

🚀 A production-ready React dropzone component with smart defaults, drag & drop reordering, chunked uploads, resume functionality, and comprehensive provider support (Cloudinary, AWS S3, Supabase)

19 lines (16 loc) • 583 B
import React from 'react'; import { U as UploadFile } from '../index-BjQbXosE.js'; interface FileItemProps { readonly file: UploadFile; readonly progress: number; readonly onRemove: (fileId: string) => void; readonly onRetry: (fileId: string) => void; readonly onCancel: (fileId: string) => void; readonly showPreview: boolean; readonly showProgress: boolean; readonly showFileSize: boolean; readonly showFileType: boolean; readonly theme: 'light' | 'dark' | 'custom'; } declare const FileItem: React.FC<FileItemProps>; export { FileItem };