# 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`                                                            |


---

This page was last updated at 2026-04-17T17:33:46.064Z.

For the most recent version of this documentation, visit [https://getstream.io/chat/docs/sdk/react-native/ui-components/message-composer/components/attachment-preview/file-attachment-upload-preview/](https://getstream.io/chat/docs/sdk/react-native/ui-components/message-composer/components/attachment-preview/file-attachment-upload-preview/).