FileAttachmentUploadPreview
FileAttachmentUploadPreview renders pending file uploads with retry/remove controls.
Internally it shows progress/retry/not-supported indicators based on upload state and uses FilePreview for file metadata rendering.
Props
Implements UploadAttachmentPreviewProps<LocalFileAttachment | LocalVideoAttachment | LocalAudioAttachment>.
| Prop | Description | Type |
|---|---|---|
attachment | File attachment item being previewed. | LocalFileAttachment | LocalVideoAttachment | LocalAudioAttachment |
handleRetry | Retry callback for failed uploads. | function |
removeAttachments | Removes attachment(s) by local attachment id. | function |