diff --git a/packages/next/src/layouts/Root/index.tsx b/packages/next/src/layouts/Root/index.tsx index 7f72e347d..24cb25e44 100644 --- a/packages/next/src/layouts/Root/index.tsx +++ b/packages/next/src/layouts/Root/index.tsx @@ -25,11 +25,13 @@ export const RootLayout = async ({ config: configPromise, importMap, serverFunction, + htmlProps = {}, }: { readonly children: React.ReactNode readonly config: Promise readonly importMap: ImportMap readonly serverFunction: ServerFunctionClient + readonly htmlProps?: React.HtmlHTMLAttributes }) => { checkDependencies() @@ -105,6 +107,7 @@ export const RootLayout = async ({ dir={dir} lang={languageCode} suppressHydrationWarning={config?.admin?.suppressHydrationWarning ?? false} + {...htmlProps} >