Files
next.js/test/development/app-dir/instant-navs-devtools/app/layout.tsx
Sam SelikoffandGitHub 19a19a3924 Updates to Instant Navs devtools functionality (#91005)
Updates the Instant Navs devtools functionality to use a panel and show
you two options for capturing the SSR shell or the prefetch for a Client
navigation.

Replaces current functionality where clicking Instant Navs changed the
devtools indicator to a blue pending state awaiting the user's next
navigation.


https://github.com/user-attachments/assets/de5c5a40-e836-4719-9517-6d5c6b0aef2c
2026-03-10 11:15:31 -04:00

21 lines
483 B
TypeScript

import { ReactNode } from 'react'
export default function Root({ children }: { children: ReactNode }) {
return (
<html>
<body
style={{
fontFamily:
'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif',
maxWidth: 900,
margin: '0 auto',
padding: '2rem 1rem',
lineHeight: 1.6,
color: '#111',
}}
>
{children}
</body>
</html>
)
}