mirror of
https://github.com/tuono-labs/tuono
synced 2026-07-30 22:32:47 -07:00
33aa37ed7d
Co-authored-by: Marco Pasqualetti <marco.pasqualetti@live.com>
21 lines
447 B
TypeScript
21 lines
447 B
TypeScript
import type { ReactNode, JSX } from 'react'
|
|
import { MDXProvider } from '@mdx-js/react'
|
|
import { TuonoScripts } from 'tuono'
|
|
|
|
interface RootLayoutProps {
|
|
children: ReactNode
|
|
}
|
|
|
|
export default function RootLayout({ children }: RootLayoutProps): JSX.Element {
|
|
return (
|
|
<html>
|
|
<body>
|
|
<main>
|
|
<MDXProvider components={{}}>{children}</MDXProvider>
|
|
</main>
|
|
<TuonoScripts />
|
|
</body>
|
|
</html>
|
|
)
|
|
}
|