ImageAttachmentUploadPreview
ImageAttachmentUploadPreview renders pending image uploads with an overlay indicator and remove control.
Internally it renders the image background preview and picks the correct progress/retry state indicator from upload metadata.
Props
Implements UploadAttachmentPreviewProps<LocalImageAttachment>.
| Prop | Description | Type |
|---|---|---|
attachment | Image attachment item being previewed. | LocalImageAttachment |
handleRetry | Retry callback for failed uploads. | function |
removeAttachments | Removes attachment(s) by local attachment id. | function |