Skip to content

Commit ab0b9ea

Browse files
author
marker dao ®
committed
refactor(chat.d.ts): Rename to action
1 parent 26ce9b4 commit ab0b9ea

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

packages/devextreme/js/ui/chat.d.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ export type EmptyViewTemplateData = {
356356
};
357357

358358
/** @public */
359-
export type SendButtonBehavior = 'send' | 'custom';
359+
export type SendButtonAction = 'send' | 'custom';
360360

361361
/**
362362
* @docid
@@ -367,15 +367,15 @@ export type SendButtonProperties = {
367367
/**
368368
* @docid
369369
* @public
370-
* @default 'arrowright'
370+
* @default 'send'
371371
*/
372-
icon?: string;
372+
action?: SendButtonAction;
373373
/**
374374
* @docid
375375
* @public
376-
* @default 'send'
376+
* @default 'arrowright'
377377
*/
378-
behavior?: SendButtonBehavior;
378+
icon?: string;
379379
/**
380380
* @docid
381381
* @type_function_param1 e:{ui/chat:SendButtonClickEvent}

packages/devextreme/ts/dx.all.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11339,7 +11339,7 @@ declare module DevExpress.ui {
1133911339
*/
1134011340
export type SendButtonClickEvent =
1134111341
DevExpress.common.core.events.NativeEventInfo<
11342-
dxChat,
11342+
dxButton,
1134311343
DevExpress.events.InteractionEvent
1134411344
>;
1134511345
/**

0 commit comments

Comments
 (0)