FileAttachmentPreviewContent

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

Factory method for creating the preview content of file attachments.

Parameters

modifier

Modifier for styling.

attachments

List of file attachments to preview.

onAttachmentRemoved

Lambda invoked when an attachment is removed.