22 lines
447 B
React
22 lines
447 B
React
|
import React from 'react';
|
||
|
import { ToastContainer } from 'react-toastify';
|
||
|
import 'react-toastify/dist/ReactToastify.css';
|
||
|
|
||
|
const CustomToastContainer = () => {
|
||
|
return (
|
||
|
<ToastContainer
|
||
|
position="top-right"
|
||
|
autoClose={5000}
|
||
|
hideProgressBar={false}
|
||
|
newestOnTop={false}
|
||
|
closeOnClick
|
||
|
rtl={false}
|
||
|
pauseOnFocusLoss
|
||
|
draggable
|
||
|
pauseOnHover
|
||
|
/>
|
||
|
);
|
||
|
};
|
||
|
|
||
|
export default CustomToastContainer;
|