Refactor #3885 - button updates

This commit is contained in:
Tuğçe Küçükoğlu 2023-05-02 11:01:27 +03:00
parent 21ab0ad7d0
commit cadc7e87c4
8 changed files with 32 additions and 47 deletions

View file

@ -8,6 +8,7 @@
*
*/
import { VNode } from 'vue';
import { ButtonPassThroughOptions } from '../button';
import { ConfirmationOptions } from '../confirmationoptions';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
@ -48,20 +49,14 @@ export interface ConfirmPopupPassThroughOptions {
footer?: ConfirmPopupPassThroughOptionType;
/**
* Uses to pass attributes to the reject button's DOM element.
* @see {@link ButtonPassThroughOptions}
*/
rejectButton?: ConfirmPopupPassThroughOptionType;
/**
* Uses to pass attributes to the reject icon's DOM element.
*/
rejectIcon?: ConfirmPopupPassThroughOptionType;
rejectButton?: ButtonPassThroughOptions;
/**
* Uses to pass attributes to the accept button's DOM element.
* @see {@link ButtonPassThroughOptions}
*/
acceptButton?: ConfirmPopupPassThroughOptionType;
/**
* Uses to pass attributes to the accept icon's DOM element.
*/
acceptIcon?: ConfirmPopupPassThroughOptionType;
acceptButton?: ButtonPassThroughOptions;
}
/**