Fixed #4159 - Rename button and buttonIcon pt options with closeButton and closeIcon options in Message

This commit is contained in:
mertsincan 2023-07-19 09:21:09 +01:00
parent ee4dfdcdd4
commit 822d217a87
3 changed files with 15 additions and 5 deletions

View file

@ -45,12 +45,22 @@ export interface MessagePassThroughOptions {
text?: MessagePassThroughOptionType;
/**
* Uses to pass attributes to the button's DOM element.
* @deprecated since v3.30.2. Use 'closeButton' option.
*/
button?: MessagePassThroughOptionType;
/**
* Uses to pass attributes to the button's DOM element.
*/
closeButton?: MessagePassThroughOptionType;
/**
* Uses to pass attributes to the button icon's DOM element.
* @deprecated since v3.30.2. Use 'closeIcon' option.
*/
buttonIcon?: MessagePassThroughOptionType;
/**
* Uses to pass attributes to the button icon's DOM element.
*/
closeIcon?: MessagePassThroughOptionType;
/**
* Uses to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks}