-
public final class MessageInputKt
-
-
Method Summary
Modifier and Type Method Description final static UnitMessageInput(MessageComposerState messageComposerState, Function1<String, Unit> onValueChange, Function1<Attachment, Unit> onAttachmentRemoved, Modifier modifier, Integer maxLines, KeyboardOptions keyboardOptions, Function1<MessageComposerState, Unit> label, Function1<RowScope, Unit> innerLeadingContent, Function1<RowScope, Unit> innerTrailingContent)Input field for the Messages/Conversation screen. -
-
Method Detail
-
MessageInput
@Composable() final static Unit MessageInput(MessageComposerState messageComposerState, Function1<String, Unit> onValueChange, Function1<Attachment, Unit> onAttachmentRemoved, Modifier modifier, Integer maxLines, KeyboardOptions keyboardOptions, Function1<MessageComposerState, Unit> label, Function1<RowScope, Unit> innerLeadingContent, Function1<RowScope, Unit> innerTrailingContent)
Input field for the Messages/Conversation screen. Allows label customization, as well as handlers when the input changes.
- Parameters:
messageComposerState- The state of the input.onValueChange- Handler when the value changes.onAttachmentRemoved- Handler when the user removes a selected attachment.modifier- Modifier for styling.maxLines- The number of lines that are allowed in the input.keyboardOptions- The KeyboardOptions to be applied to the input.label- Composable that represents the label UI, when there's no input.innerLeadingContent- Composable that represents the persistent inner leading content.innerTrailingContent- Composable that represents the persistent inner trailing content.
-
-
-
-