Created
October 17, 2022 14:44
-
-
Save wolz-CODElife/d0257dd65699136c2c8123f04c16a2f5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Refine } from "@pankod/refine-core"; | |
import routerProvider from "@pankod/refine-react-router-v6"; | |
import { | |
CssBaseline, | |
GlobalStyles, | |
ThemeProvider, | |
LightTheme, | |
} from "@pankod/refine-mui"; | |
import Dashboard from "pages/Dashboard"; | |
function App() { | |
return ( | |
<ThemeProvider theme={LightTheme}> | |
<CssBaseline /> | |
<GlobalStyles styles={{ html: { WebkitFontSmoothing: "auto" } }} /> | |
<Refine dataProvider={{}} | |
routerProvider={{ | |
...routerProvider, | |
routes: [ | |
{ | |
element: <Dashboard />, | |
path: "/", | |
}, | |
], | |
}} /> | |
</ThemeProvider> | |
); | |
} | |
export default App; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment