Files
TheGame/packages/web/pages/_app.tsx
Hammad Jutt 0f9c790351 Setup Design System with NextJS Web App
Also replaced the local fonts with Google fonts since they are more performant and easier to package. Created a custom
Link component to render the ChakraUI link inside the NextJS Link properly.
2020-07-26 19:56:11 -06:00

14 lines
298 B
TypeScript

import { GlobalStyle, ThemeProvider } from '@metafam/ds';
import { AppProps } from 'next/app';
const app: React.FC<AppProps> = ({ pageProps, Component }) => {
return (
<ThemeProvider>
<GlobalStyle />
<Component {...pageProps} />
</ThemeProvider>
);
};
export default app;