@quantabit/upload-sdk
v1.0.2
Published
File upload with drag-drop, preview, and validation
Maintainers
Readme
@quantabit/upload-sdk
File upload with drag-drop, preview, and validation
Components
- DropZone — Drag & drop area with click fallback
- FilePreview — File thumbnail with name/size/remove
- useUpload — Hook managing file list and upload state
- validateFile() — Size and type validation
import { DropZone, FilePreview, useUpload } from '@quantabit/upload-sdk';
const { files, addFiles, removeFile } = useUpload();
<DropZone onFiles={addFiles} maxSize={5*1024*1024} accept=".jpg,.png,.pdf" />
{files.map(f => <FilePreview key={f.name} file={f} onRemove={removeFile} />)}License
MIT © QuantaBit Team
🌐 Brand & Links
- Official Mainnet: QuantaBit Chain
- Developer Platform: Developer Platform
- Open Platform: Open Platform
- Payment Platform: Pay Platform
- Feedback: Feedback
