FileUpload
A file upload component with drag & drop support. Built on Ark UI .
Import
import { FileUpload } from '@grannyshot/ui'Usage
<FileUpload label="Attachments" maxFiles={3} />API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
label | string | — | Label text |
maxFiles | number | — | Maximum number of files |
maxFileSize | number | — | Max file size in bytes |
accept | Record<string, string[]> | — | Accepted file types |
disabled | boolean | false | Disabled state |
className | string | — | Additional CSS classes |
Last updated on