25 lines
481 B
TypeScript
25 lines
481 B
TypeScript
import { toast, ToastContainer, Slide } from 'react-toastify';
|
|
|
|
export const AppProvider = () => {
|
|
return <main className='w-full'>
|
|
<App />
|
|
<ToastContainer
|
|
position="top-right"
|
|
autoClose={3000}
|
|
hideProgressBar
|
|
newestOnTop
|
|
closeOnClick
|
|
rtl={false}
|
|
pauseOnFocusLoss
|
|
draggable
|
|
pauseOnHover
|
|
theme="light"
|
|
transition={Slide} />
|
|
</main>
|
|
}
|
|
|
|
export const App = () => {
|
|
return (
|
|
<div>Studio App</div>
|
|
)
|
|
} |