FileAttachmentContent
fun FileAttachmentContent(attachmentState: AttachmentState, modifier: Modifier = Modifier, showFileSize: (Attachment) -> Boolean = { true }, onItemClick: (previewHandlers: List<AttachmentPreviewHandler>, attachment: Attachment) -> Unit = ::onFileAttachmentContentItemClick)
Builds a file attachment message which shows a list of files.
Parameters
attachmentState
The state of the attachment, holding the root modifier, the message and the onLongItemClick handler.
modifier
Modifier for styling.
onItemClick
Lambda called when an item gets clicked.