Upload disabled
Import
import { Upload, UploadPreview } from "@/components/ui"API
| Prop | Type | Default | Description |
|---|---|---|---|
| accept | string | — | Accepted file types (e.g. 'image/*'). |
| multiple | boolean | false | Allow multiple file selection. |
| size | "sm" | "md" | "lg" | "md" | Drop zone dimensions. |
| title | string | "Drop files here or click to upload" | Primary drop zone text. |
| description | string | — | Secondary helper text. |
| onFilesSelected | (files: File[]) => void | — | Callback with selected files. |