20 lines
478 B
TypeScript
20 lines
478 B
TypeScript
import Layout from 'Components/Layout';
|
|
import type { AppProps } from 'next/app';
|
|
import { ThemeProvider } from 'styled-components';
|
|
import { GlobalStyle } from 'UIKit/colors';
|
|
import theme from 'UIKit/theme';
|
|
import '../styles/globals.css';
|
|
|
|
function App({ Component, pageProps }: AppProps) {
|
|
return (
|
|
<ThemeProvider theme={theme}>
|
|
<GlobalStyle />
|
|
<Layout>
|
|
<Component {...pageProps} />
|
|
</Layout>
|
|
</ThemeProvider>
|
|
);
|
|
}
|
|
|
|
export default App;
|