diff --git a/components/lib/confirmdialog/ConfirmDialog.d.ts b/components/lib/confirmdialog/ConfirmDialog.d.ts index b087d314b..faf86690e 100644 --- a/components/lib/confirmdialog/ConfirmDialog.d.ts +++ b/components/lib/confirmdialog/ConfirmDialog.d.ts @@ -61,11 +61,21 @@ export interface ConfirmDialogSlots { * Custom message template. * @param {Object} scope - message slot's params. */ - message(scope: { message: ConfirmationOptions }): VNode[]; + message(scope: { + /** + * Message of the component + */ + message: ConfirmationOptions; + }): VNode[]; /** * Custom icon template. */ - icon(): VNode[]; + icon(scope: { + /** + * Style class of the icon template + */ + class: any; + }): VNode[]; /** * Custom icon template. */ diff --git a/components/lib/confirmdialog/ConfirmDialog.vue b/components/lib/confirmdialog/ConfirmDialog.vue index 223245cda..60c0d29bb 100644 --- a/components/lib/confirmdialog/ConfirmDialog.vue +++ b/components/lib/confirmdialog/ConfirmDialog.vue @@ -13,7 +13,7 @@ @update:visible="onHide" >