add toastify component
This commit is contained in:
@@ -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;
|
||||
Reference in New Issue
Block a user