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.

ComponentDescriptionType
AudioAttachmentUploadPreviewOverride for the audio attachment upload preview component.ComponentType
FileAttachmentUploadPreviewOverride for the file attachment upload preview component.ComponentType
ImageAttachmentUploadPreviewOverride for the image attachment upload preview component.ComponentType
VideoAttachmentUploadPreviewOverride for the video attachment upload preview component.ComponentType