New to KendoReactStart a free 30-day trial

Configuration for the Message Box (PromptBox component).

Definition

Package:@progress/kendo-react-conversational-ui

Properties

endAffix?

ReactNode | () => ReactNode

Custom content rendered at the end of the Message Box input area. The content is rendered before the built-in speech-to-text button.

Sets the maximum height of the Message Box textarea in px. When the height exceeds this value, the Message Box height is fixed and a scrollbar appears. Applicable for multi and auto modes.

Default:

'110'

Defines the line mode for the Message Box.

  • single—Single-line input field.
  • multi—Multi-line textarea that expands/collapses based on content.
  • auto—Starts as single-line and automatically expands to multi-line when needed.
Default:

'multi'

rows?

number

Sets the number of visible rows for the Message Box textarea.

Default:

2

startAffix?

ReactNode | () => ReactNode

Custom content rendered at the start of the Message Box input area. The content is rendered after the built-in upload button.

topAffix?

ReactNode | () => ReactNode

Custom content rendered at the top of the Message Box. Only rendered when mode is 'multi'.