feat(global) project init

This commit is contained in:
lumither committed 2024-10-12 23:24:37 -07:00
commit 3556eaed5e
22 files changed
+637

No files matched your search

+31
View File
@@ -0,0 +1,31 @@
'use client';
import 'react-toastify/dist/ReactToastify.css';
// import '../../app/globals.css';
import { ToastContainer } from 'react-toastify';
import React from 'react';
interface ToastProviderProps {
children: React.ReactNode;
}
export default function ToastProvider({ children }: ToastProviderProps) {
return (
<>
{ children }
<ToastContainer
position="bottom-right"
autoClose={ 2000 }
hideProgressBar={ false }
newestOnTop={ false }
closeOnClick
rtl={ false }
pauseOnFocusLoss
draggable
pauseOnHover
theme="dark"
/>
</>
);
}