Skip to content

Commit

Permalink
app
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrieljablonski committed May 13, 2022
1 parent bf12424 commit 243d762
Showing 1 changed file with 24 additions and 3 deletions.
27 changes: 24 additions & 3 deletions src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,28 @@
import React from 'react';
import { Slide } from 'react-toastify';
import { ToastContainer } from './components';

const App: React.FC = () => (
<>React Template</>
);
import AppProvider from './providers';
import AppRoutes from './routes';
import GlobalStyle from './styles/global';

const App: React.FC = () => {
return (
<AppProvider>
<AppRoutes />
<ToastContainer
autoClose={5000}
transition={Slide}
newestOnTop
closeOnClick
draggable={false}
pauseOnFocusLoss={false}
pauseOnHover
theme="dark"
/>
<GlobalStyle />
</AppProvider>
);
};

export default App;

0 comments on commit 243d762

Please sign in to comment.