MessageComposerAttachmentFileItemParams

data class MessageComposerAttachmentFileItemParams(val attachment: Attachment, val onAttachmentRemoved: (Attachment) -> Unit, val modifier: Modifier = Modifier)

Parameters for the ChatComponentFactory.MessageComposerAttachmentFileItem component.

Parameters

attachment

The file attachment to render.

onAttachmentRemoved

Called when the attachment is removed by the user.

modifier

Modifier for styling.

Constructors

Link copied to clipboard
constructor(attachment: Attachment, onAttachmentRemoved: (Attachment) -> Unit, modifier: Modifier = Modifier)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard