structure user and izitoast and add medicalcenter

This commit is contained in:
saeid_01
2019-04-20 01:32:52 +04:30
parent a4eb09fb67
commit 5831a29686
42 changed files with 7424 additions and 4948 deletions
+21
View File
@@ -0,0 +1,21 @@
import "izitoast/dist/css/iziToast.min.css";
import iZtoast from "izitoast";
const toast = {
error: (message, title = "Error") => {
return iZtoast.error({
title: title,
message: message,
position: "bottomCenter"
});
},
success: (message, title = "Success") => {
return iZtoast.success({
title: title,
message: message,
position: "bottomCenter"
});
}
};
export default toast;