OptionalcolorsCustom colors
OptionaldisabledWhether the input is disabled
OptionalemojiAccessible label for the emoji picker button (default: 'Emoji')
OptionalemojisEmojis offered by the picker (default: CHAT_EMOJIS)
OptionaliconsCustom icons
OptionalmaxMaximum message length (default: CHAT_CONFIG.MAX_MESSAGE_LENGTH)
OptionalonCallback fired when an error occurs during message send
Callback fired when user sends a message
OptionalplaceholderPlaceholder text for the input field
OptionalshowShow the emoji picker button (default: true). When enabled, an emoji button opens a picker that inserts the selected emoji at the cursor.
OptionalstylesCustom styles
OptionalsxMUI sx styling prop
Props for the ChatInput component.