FileAttachmentFactory
constructor(showFileSize: (Attachment) -> Boolean = { true }, onContentItemClick: (previewHandlers: List<AttachmentPreviewHandler>, attachment: Attachment) -> Unit = ::onFileAttachmentContentItemClick)
Parameters
onContentItemClick
Lambda called when an item gets clicked.