AudioAttachmentUploadPreview
AudioAttachmentUploadPreview renders pending audio/voice recording uploads with retry/remove controls.
Internally it computes upload indicator state from attachment.localMetadata.uploadState, supports offline-aware behavior, and renders AudioAttachment in preview mode.
Props
Implements UploadAttachmentPreviewProps<LocalAudioAttachment | LocalVoiceRecordingAttachment>.
| Prop | Description | Type |
|---|---|---|
attachment | Audio attachment item being previewed. | LocalAudioAttachment | LocalVoiceRecordingAttachment |
handleRetry | Retry callback for failed uploads. | function |
removeAttachments | Removes attachment(s) by local attachment id. | function |