mirror of
https://github.com/tuono-labs/tuono
synced 2026-07-30 22:32:47 -07:00
15 lines
332 B
TypeScript
15 lines
332 B
TypeScript
|
|
import type { ReactNode } from 'react'
|
||
|
|
import { MDXProvider } from '@mdx-js/react'
|
||
|
|
|
||
|
|
interface RootRouteProps {
|
||
|
|
children: ReactNode
|
||
|
|
}
|
||
|
|
|
||
|
|
export default function RootRoute({ children }: RootRouteProps): JSX.Element {
|
||
|
|
return (
|
||
|
|
<main className="main">
|
||
|
|
<MDXProvider components={{}}>{children}</MDXProvider>
|
||
|
|
</main>
|
||
|
|
)
|
||
|
|
}
|