# AttachmentUploadPreviewList

`AttachmentUploadPreviewList` renders a horizontal list of pending attachment previews in `MessageComposer`.

Internally it selects the correct preview renderer by attachment type (`image`, `voice/audio`, `video`, `file`) and wires retries/removal to the `attachmentManager`. It auto-scrolls to new items and keeps end anchoring stable when list width shrinks.

## Props

`AttachmentUploadPreviewList` does not accept any props. It reads the per-type preview renderers from the `ComponentsContext`.

## Component Overrides

The individual preview renderers are not props of this component. They are `ComponentsContext` overrides — provide them through `WithComponents` (or the corresponding `Channel` props) to replace the default previews.

| Component                      | Description                                                 | Type            |
| ------------------------------ | ----------------------------------------------------------- | --------------- |
| `AudioAttachmentUploadPreview` | Override for the audio attachment upload preview component. | `ComponentType` |
| `FileAttachmentUploadPreview`  | Override for the file attachment upload preview component.  | `ComponentType` |
| `ImageAttachmentUploadPreview` | Override for the image attachment upload preview component. | `ComponentType` |
| `VideoAttachmentUploadPreview` | Override for the video attachment upload preview component. | `ComponentType` |

---

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