feat: add TuonoLayoutProps interface (#702)

This commit is contained in:
Marco Pasqualetti
2025-04-03 08:53:20 +02:00
committed by GitHub
parent 0fa83fb1a2
commit 0335c8c1ad
6 changed files with 27 additions and 25 deletions
+5 -6
View File
@@ -1,14 +1,13 @@
import type { ReactNode, JSX } from 'react'
import type { JSX } from 'react'
import { MDXProvider } from '@mdx-js/react'
import { TuonoScripts } from 'tuono'
import type { TuonoLayoutProps } from 'tuono'
import '../styles/global.css'
interface RootLayoutProps {
children: ReactNode
}
export default function RootLayout({ children }: RootLayoutProps): JSX.Element {
export default function RootLayout({
children,
}: TuonoLayoutProps): JSX.Element {
return (
<html>
<body>