next.js/test/e2e/app-dir/interception-dynamic-single-segment/app/layout.tsx
layout.tsx18 lines336 B
import { Suspense } from 'react'

export default function Layout(props: {
  children: React.ReactNode
  modal: React.ReactNode
}) {
  return (
    <Suspense>
      <html>
        <body>
          <div id="children">{props.children}</div>
          <div id="modal">{props.modal}</div>
        </body>
      </html>
    </Suspense>
  )
}
Quest for Codev2.0.0
/
SIGN IN