fix(notif): fixing for notification Monthly

This commit is contained in:
2026-07-08 12:36:29 +07:00
parent 276a75f13f
commit e02aa92c64
3 changed files with 88 additions and 27 deletions

View File

@@ -20,6 +20,19 @@ const NotifOk = ({ icon, title, message }) => {
});
};
const NotifSmall = ({ icon, title, message }) => {
Swal.fire({
toast: true,
position: 'top-end',
icon: icon,
title: title,
text: message,
showConfirmButton: false,
timer: 2000,
timerProgressBar: true,
});
};
const NotifConfirmDialog = ({
icon,
title,
@@ -67,4 +80,4 @@ const QuestionConfirmSubmit = ({ icon, title, message, onConfirm, onCancel }) =>
});
};
export { NotifAlert, NotifOk, NotifConfirmDialog, QuestionConfirmSubmit };
export { NotifAlert, NotifOk, NotifSmall, NotifConfirmDialog, QuestionConfirmSubmit };