2022-11-04 21:44:29 +09:00
|
|
|
import React from 'react';
|
|
|
|
import type {AppProps} from 'next/app';
|
|
|
|
import {MDXProvider} from '@mdx-js/react';
|
2023-02-17 04:47:29 +09:00
|
|
|
import {components} from '@sup39/mdx-components';
|
2022-11-04 21:44:29 +09:00
|
|
|
import '../styles/index.sass';
|
|
|
|
|
2022-11-05 22:21:49 +09:00
|
|
|
export default function App({Component, pageProps, router}: AppProps) {
|
2023-02-17 04:47:29 +09:00
|
|
|
return <MDXProvider components={components}>
|
2022-11-05 22:21:49 +09:00
|
|
|
<Component router={router} {...pageProps} />
|
2022-11-04 21:44:29 +09:00
|
|
|
</MDXProvider>;
|
|
|
|
}
|