add toastify component

This commit is contained in:
Ehsan
2024-10-26 00:51:59 +03:30
parent 638d0d78f5
commit 60276b3ba0
9 changed files with 121 additions and 5 deletions
+18
View File
@@ -0,0 +1,18 @@
import { ToastContainer } from "react-toastify";
import TickAlert from "@/components/icons/TickAlert";
function CustomToastify() {
return (
<ToastContainer
rtl
closeOnClick
autoClose={3000}
closeButton={false}
icon={<TickAlert />}
position="top-center"
hideProgressBar={true}
/>
);
}
export default CustomToastify;