11 lines
369 B
TypeScript
11 lines
369 B
TypeScript
import React from 'react';
|
|
import type {AppProps} from 'next/app';
|
|
import {MDXProvider} from '@mdx-js/react';
|
|
import mdx from '@sup39/mdx-components';
|
|
import '../styles/index.sass';
|
|
|
|
export default function App({Component, pageProps, router}: AppProps) {
|
|
return <MDXProvider components={{...mdx}}>
|
|
<Component router={router} {...pageProps} />
|
|
</MDXProvider>;
|
|
}
|