FileAttachmentPreviewContent

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

UI for currently selected file attachments, within the MessageInput.

Parameters

attachments

Selected attachments.

onAttachmentRemoved

Handler when the user removes an attachment from the list.

modifier

Modifier for styling.