DefaultMessageComposerHeaderContent

fun DefaultMessageComposerHeaderContent(messageComposerState: MessageComposerState, onCancelAction: () -> Unit, onLinkPreviewClick: (LinkPreview) -> Unit? = null)

Represents the default content shown at the top of the message composer component.

Parameters

messageComposerState

The state of the message composer.

onCancelAction

Handler for the cancel button on Message actions, such as Edit and Reply.

onLinkPreviewClick

Handler when the user taps on a link preview.