previewContent

val previewContent: @Composable (modifier: Modifier, attachments: List<Attachment>, onAttachmentRemoved: (Attachment) -> Unit) -> Unit? = null

Parameters

previewContent

Composable function that allows users to define the content the AttachmentFactory will build, using any given AttachmentState, when the message is displayed in the message input preview, before sending.