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
Add Chat to my app: getstream.io/SKILL.md

The fastest way to build with Stream. Start a new project or improve an existing one. Full CLI and documentation integration out of the box.


Ask your agent:

/stream Build me a Social App with Feeds and Moderation.
/stream Any livestream calls running?
/stream Chat React Native v9: <Your Question>