UNPKG

light-upload

Version:

The most powerful lightweight file upload component. Based on JS worker thread technology, it supports multi-threaded file uploads, uploads of files of any size, resumable uploads, and concurrent uploads. File uploads do not block the UI main thread. Note

13 lines (12 loc) 386 B
export interface LightUploadRef { uploadFiles: (files: File[]) => void; } interface LightUploadProps { lang?: string; uploadServer?: string; trigger?: any; chunkSize?: number; } declare const LightUpload: import('react').ForwardRefExoticComponent<LightUploadProps & import('react').RefAttributes<LightUploadRef>>; export { LightUpload }; export default LightUpload;