@@ -52,12 +52,12 @@ export type InitializedEvent = InitializedEventInfo<dxChat>;
5252export type OptionChangedEvent = EventInfo < dxChat > & ChangedOptionInfo ;
5353
5454/**
55- * @docid _ui_chat_MainActionButtonClickEvent
55+ * @docid _ui_chat_SendButtonClickEvent
5656 * @public
5757 * @type object
5858 * @inherits NativeEventInfo
5959 */
60- export type MainActionButtonClickEvent = NativeEventInfo < dxChat , InteractionEvent > ;
60+ export type SendButtonClickEvent = NativeEventInfo < dxChat , InteractionEvent > ;
6161
6262/**
6363 * @docid _ui_chat_MessageEnteredEvent
@@ -355,31 +355,32 @@ export type EmptyViewTemplateData = {
355355} ;
356356
357357/** @public */
358- export type MainActionButtonBehavior = 'default ' | 'custom' ;
358+ export type SendButtonBehavior = 'send ' | 'custom' ;
359359
360360/**
361361 * @docid
362362 * @namespace DevExpress.ui.dxChat
363363 * @public
364364 */
365- export type MainActionButtonProperties = {
365+ export type SendButtonProperties = {
366366 /**
367367 * @docid
368368 * @public
369+ * @default 'arrowright'
369370 */
370371 icon ?: string ;
371372 /**
372373 * @docid
373374 * @public
374- * @default 'default '
375+ * @default 'send '
375376 */
376- behavior ?: MainActionButtonBehavior ;
377+ type ?: SendButtonBehavior ;
377378 /**
378379 * @docid
379- * @type_function_param 1 e:{ui/chat:MainActionButtonClickEvent }
380+ * @type_function_param 1 e:{ui/chat:SendButtonClickEvent }
380381 * @public
381382 */
382- onClick : ( ( e : MainActionButtonClickEvent ) => void ) ;
383+ onClick : ( ( e : SendButtonClickEvent ) => void ) ;
383384} ;
384385
385386/**
@@ -484,10 +485,10 @@ export interface dxChatOptions extends WidgetOptions<dxChat> {
484485 inputFieldText ?: TextAreaProperties [ 'value' ] ;
485486 /**
486487 * @docid
487- * @type MainActionButtonProperties
488+ * @type SendButtonProperties
488489 * @public
489490 */
490- mainActionButtonOptions ?: MainActionButtonProperties ;
491+ sendButtonOptions ?: SendButtonProperties ;
491492 /**
492493 * @docid
493494 * @default null
0 commit comments