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-16 09:54:31 +09:00
|
|
|
import mdx 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-16 09:54:31 +09:00
|
|
|
return <MDXProvider components={{...mdx}}>
|
2022-11-05 22:21:49 +09:00
|
|
|
<Component router={router} {...pageProps} />
|
2022-11-04 21:44:29 +09:00
|
|
|
</MDXProvider>;
|
|
|
|
}
|