mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 17:02:38 +00:00
Refactor #3885 - button updates
This commit is contained in:
parent
21ab0ad7d0
commit
cadc7e87c4
8 changed files with 32 additions and 47 deletions
22
components/lib/confirmdialog/ConfirmDialog.d.ts
vendored
22
components/lib/confirmdialog/ConfirmDialog.d.ts
vendored
|
@ -8,6 +8,7 @@
|
|||
*
|
||||
*/
|
||||
import { VNode } from 'vue';
|
||||
import { ButtonPassThroughOptions } from '../button';
|
||||
import { ConfirmationOptions } from '../confirmationoptions';
|
||||
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
||||
|
||||
|
@ -40,12 +41,9 @@ export interface ConfirmDialogPassThroughOptions {
|
|||
headerTitle?: ConfirmDialogPassThroughOptionType;
|
||||
/**
|
||||
* Uses to pass attributes to the close button's DOM element.
|
||||
* @see {@link ButtonPassThroughOptions}
|
||||
*/
|
||||
closeButton?: ConfirmDialogPassThroughOptionType;
|
||||
/**
|
||||
* Uses to pass attributes to the close icon's DOM element.
|
||||
*/
|
||||
closeIcon?: ConfirmDialogPassThroughOptionType;
|
||||
closeButton?: ButtonPassThroughOptions;
|
||||
/**
|
||||
* Uses to pass attributes to the content's DOM element.
|
||||
*/
|
||||
|
@ -64,20 +62,14 @@ export interface ConfirmDialogPassThroughOptions {
|
|||
message?: ConfirmDialogPassThroughOptionType;
|
||||
/**
|
||||
* Uses to pass attributes to the reject button's DOM element.
|
||||
* @see {@link ButtonPassThroughOptions}
|
||||
*/
|
||||
rejectButton?: ConfirmDialogPassThroughOptionType;
|
||||
/**
|
||||
* Uses to pass attributes to the reject icon's DOM element.
|
||||
*/
|
||||
rejectIcon?: ConfirmDialogPassThroughOptionType;
|
||||
rejectButton?: ButtonPassThroughOptions;
|
||||
/**
|
||||
* Uses to pass attributes to the accept button's DOM element.
|
||||
* @see {@link ButtonPassThroughOptions}
|
||||
*/
|
||||
acceptButton?: ConfirmDialogPassThroughOptionType;
|
||||
/**
|
||||
* Uses to pass attributes to the accept icon's DOM element.
|
||||
*/
|
||||
acceptIcon?: ConfirmDialogPassThroughOptionType;
|
||||
acceptButton?: ButtonPassThroughOptions;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue