mirror of
https://github.com/tuono-labs/tuono
synced 2026-07-30 22:32:47 -07:00
feat: add TuonoLayoutProps interface (#702)
This commit is contained in:
committed by
GitHub
parent
0fa83fb1a2
commit
0335c8c1ad
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user