ImageAttachmentPreviewContent

fun ImageAttachmentPreviewContent(attachments: List<Attachment>, onAttachmentRemoved: (Attachment) -> Unit, modifier: Modifier = Modifier)

UI for currently selected image attachments, within the MessageInput.

Parameters

attachments

Selected attachments.

onAttachmentRemoved

Handler when the user removes an attachment from the list.

modifier

Modifier for styling.