Skip to content

Instantly share code, notes, and snippets.

@wolz-CODElife
Created October 17, 2022 14:44
Show Gist options
  • Save wolz-CODElife/d0257dd65699136c2c8123f04c16a2f5 to your computer and use it in GitHub Desktop.
Save wolz-CODElife/d0257dd65699136c2c8123f04c16a2f5 to your computer and use it in GitHub Desktop.
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