Fixed #4663 - ConfirmPopup: button classes implementation defects

pull/4666/head
Tuğçe Küçükoğlu 2023-10-20 12:20:59 +03:00
parent e9e0c897fb
commit 4206f929ee
1 changed files with 2 additions and 2 deletions

View File

@ -86,8 +86,8 @@ const classes = {
icon: ({ instance }) => ['p-confirm-popup-icon', instance.confirmation ? instance.confirmation.icon : null],
message: 'p-confirm-popup-message',
footer: 'p-confirm-popup-footer',
rejectButton: ({ instance }) => ['p-confirm-dialog-reject', instance.confirmation && !instance.confirmation.rejectClass ? 'p-button-text' : null],
acceptButton: 'p-confirm-dialog-accept'
rejectButton: ({ instance }) => ['p-confirm-popup-reject', instance.confirmation && !instance.confirmation.rejectClass ? 'p-button-text' : null],
acceptButton: 'p-confirm-popup-accept'
};
export default BaseStyle.extend({