MessageComposerHeaderContent

open fun ColumnScope.MessageComposerHeaderContent(state: MessageComposerState, onCancel: () -> Unit, onLinkPreviewClick: (LinkPreview) -> Unit?)

The default header content of the message composer. Shown on top of the composer and contains additional info/context, and is shown during editing/replying to a message, or when there is a link pasted in the composer.

Parameters

state

The current state of the message composer.

onCancel

The action to perform when the cancel button is clicked.

onLinkPreviewClick

The action to perform when the link preview is clicked.