go-ethereum/src/pages/_app.tsx
2022-09-09 10:42:22 -03:00

24 lines
586 B
TypeScript

import { ChakraProvider } from '@chakra-ui/react';
import { AppProps } from 'next/app';
import { Layout } from '../components/layouts';
import 'focus-visible/dist/focus-visible';
import theme from '../theme';
import { MDXProvider } from '@mdx-js/react';
import MDXComponents from '../components/';
export default function App({ Component, pageProps }: AppProps) {
return (
<ChakraProvider theme={theme}>
<MDXProvider components={MDXComponents}>
<Layout>
<Component {...pageProps} />
</Layout>
</MDXProvider>
</ChakraProvider>
);
}