UploadAttachmentFactory

fun UploadAttachmentFactory(onContentItemClick: (Attachment, List<AttachmentPreviewHandler>) -> Unit = ::onFileUploadContentItemClick): AttachmentFactory

An AttachmentFactory that validates and shows uploading attachments using FileUploadContent. Has no "preview content", given that this attachment only exists after being sent.

Parameters

onContentItemClick

Lambda called when an item gets clicked.