File size: 318 Bytes
b91e262 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | import Script from 'next/script'
import { ReactNode } from 'react'
export default function RootLayout({ children }: { children: ReactNode }) {
return (
<html>
<body>{children}</body>
<Script
src="https://example.com/script.js"
strategy="beforeInteractive"
/>
)
}
|