diff --git a/src/components/alert/Alert.js b/src/components/alert/Alert.js
index 13ee3f1..f036061 100644
--- a/src/components/alert/Alert.js
+++ b/src/components/alert/Alert.js
@@ -68,14 +68,14 @@ const Alert = () => {
title: "عنوان متن ارور",
text: "در این قسمت یک توضیح بسیار کوتاه یا عادی در مورد ارور نوشته خواهد شد. طراح سعی می کند تا این متن را بیشتر از حدانتظار بلند کند تا دیگران متوجه مفهوم شوند",
confirmButtonText: "توضیح بیشتر",
- showCloseButton: true,
+ showCloseButton: false,
showCancelButton: true,
cancelButtonText: "متوجه شدم",
customClass: {
title: "title-error-4",
- closeButton: "close-button-2",
confirmButton: "confirm-button-2",
cancelButton: "cancle-button2",
+ popup: "alert-popup4",
},
}).then((result) => {
if (result.isConfirmed) {
@@ -124,7 +124,89 @@ const Alert = () => {
}
});
};
-
+ // error7
+ const showAlert7 = () => {
+ Swal.fire({
+ title: "عنوان متن ارور",
+ text: "در این قسمت یک توضیح بسیار کوتاه یا عادی در مورد ارور نوشته خواهد شد. طراح سعی می کند تا این متن را بیشتر از حدانتظار بلند کند تا دیگران متوجه مفهوم شوند",
+ confirmButtonText: "توضیح بیشتر",
+ showCloseButton: true,
+ showCancelButton: true,
+ cancelButtonText: "متوجه شدم",
+ customClass: {
+ title: "title-error-7",
+ closeButton: "close-button-7",
+ confirmButton: "confirm-button-7",
+ cancelButton: "cancle-button7",
+ },
+ }).then((result) => {
+ if (result.isConfirmed) {
+ Swal.fire("Deleted!", "Your file has been deleted.", "success");
+ }
+ });
+ };
+ // error8
+ const showAlert8 = () => {
+ Swal.fire({
+ icon: "error",
+ title: "این یک متن موفقیت امیز است!!!",
+ text: "در این قسمت یک توضیح بسیار کوتاه یا عادی در مورد ارور نوشته خواهد شد. طراح سعی می کند تا این متن را بیشتر از حدانتظار بلند کند تا دیگران متوجه مفهوم شوند",
+ confirmButtonText: "توضیح بیشتر",
+ showCloseButton: false,
+ showCancelButton: true,
+ cancelButtonText: "متوجه شدم",
+ customClass: {
+ title: "title-error-8",
+ confirmButton: "confirm-button-7",
+ cancelButton: "cancle-button7",
+ popup: "alert-popup8",
+ },
+ }).then((result) => {
+ if (result.isConfirmed) {
+ Swal.fire("Deleted!", "Your file has been deleted.", "success");
+ }
+ });
+ };
+ // error9
+ const showAlert9 = () => {
+ Swal.fire({
+ title: "این ارور بسیار مهم ",
+ html: "
در این قسمت یک توضیح بسیار کوتاه یا عادی در مورد ارور نوشته خواهد شد. طراح سعی می کند تا این متن را بیشتر از حدانتظار بلند کند تا دیگران متوجه مفهوم شوند
در این قسمت یک توضیح بسیار کوتاه یا عادی در مورد ارور نوشته خواهد شد. طراح سعی می کند تا این متن را بیشتر از حدانتظار بلند کند تا دیگران متوجه مفهوم شوند