-
public final class MessageInputOptionsKt
-
-
Method Summary
Modifier and Type Method Description final static UnitMessageInputOptions(MessageAction activeAction, Function0<Unit> onCancelAction, Modifier modifier)Shows the options "header" for the message input component. -
-
Method Detail
-
MessageInputOptions
@Composable() final static Unit MessageInputOptions(MessageAction activeAction, Function0<Unit> onCancelAction, Modifier modifier)
Shows the options "header" for the message input component. This 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.
- Parameters:
activeAction- Currently active MessageAction.onCancelAction- Handler when the user cancels the current action.modifier- Modifier for styling.
-
-
-
-