sms.sup39.dev/pages/_app.tsx

12 lines
380 B
TypeScript
Raw Normal View History

2023-02-26 01:04:34 +09:00
import React from 'react';
import type {AppProps} from 'next/app';
import {MDXProvider} from '@mdx-js/react';
import {components} from '@sup39/mdx-components';
import '../styles/index.sass';
export default function App({Component, pageProps, router}: AppProps) {
return <MDXProvider components={components}>
<Component router={router} {...pageProps} />
</MDXProvider>;
}