feat(packages/tuono-(router|fs-router-vite-plugin)): replace __route with __layout (#283)

This commit is contained in:
Marco Pasqualetti
2025-01-03 17:08:18 +01:00
committed by GitHub
parent cf56b3a53e
commit 0ef1252e1f
24 changed files with 82 additions and 78 deletions
+18
View File
@@ -0,0 +1,18 @@
import type { ReactNode, JSX } from 'react'
import { MDXProvider } from '@mdx-js/react'
interface RootLayoutProps {
children: ReactNode
}
export default function RootLayout({ children }: RootLayoutProps): JSX.Element {
return (
<html>
<body>
<main>
<MDXProvider components={{}}>{children}</MDXProvider>
</main>
</body>
</html>
)
}