1
Fork 0
mirror of https://github.com/Steffo99/sophon.git synced 2024-12-22 14:54:22 +00:00
sophon/frontend/src/App.tsx
2021-09-17 00:16:04 +02:00

23 lines
750 B
TypeScript

import * as React from 'react';
import {Bluelib, LayoutThreeCol} from "@steffo/bluelib-react";
import {Router} from "./routes/Router";
import {InstanceContextProvider} from "./components/InstanceContext";
import {LoginContextProvider} from "./components/LoginContext";
function App() {
return (
<InstanceContextProvider>
<LoginContextProvider>
<Bluelib theme={"sophon"}>
<LayoutThreeCol>
<LayoutThreeCol.Center>
<Router/>
</LayoutThreeCol.Center>
</LayoutThreeCol>
</Bluelib>
</LoginContextProvider>
</InstanceContextProvider>
);
}
export default App;