- Add file-upload/ with useFileUpload, types, utils, and presentational components: FileUploadDropzone, FileUploadErrorList, FileUploadFileList - Remove monolithic file-upload.tsx; entry point is file-upload/index.ts - Backward compatible: imports from './file-upload' resolve to module Co-authored-by: Cursor <cursoragent@cursor.com>
3 lines
178 B
TypeScript
3 lines
178 B
TypeScript
export { FileUpload } from './FileUpload';
|
|
export type { FileUploadProps, FileWithPreview } from './types';
|
|
export { formatFileSize, getFileIcon, createPreview } from './utils';
|