MessageComposerMessageInputOptions

open fun MessageComposerMessageInputOptions(modifier: Modifier, activeAction: MessageAction, onCancel: () -> Unit)

The default options header for the message input component. It is based on the currently active message action - io.getstream.chat.android.ui.common.state.messages.Reply or io.getstream.chat.android.ui.common.state.messages.Edit. It shows a heading based on the action and a cancel button to cancel the action.

Used as part of MessageComposerHeaderContent.

Parameters

modifier

The modifier to apply to the composable.

activeAction

The currently active message action.

onCancel

The action to perform when the cancel button is clicked.