next.js/test/e2e/app-dir/interception-dynamic-segment/app/layout.tsx
layout.tsx20 lines368 B
export default function Layout(props: {
  children: React.ReactNode
  modal: React.ReactNode
}) {
  return (
    <html>
      <body>
        <div id="children">
          <div>CHILDREN SLOT:</div>
          {props.children}
        </div>
        <div id="modal">
          <div>MODAL SLOT:</div>
          {props.modal}
        </div>
      </body>
    </html>
  )
}
Quest for Codev2.0.0
/
SIGN IN