next.js/test/e2e/app-dir/instant-validation/app/suspense-in-root/static/config-children-preferred/layout.tsx
layout.tsx20 lines377 B
import { ReactNode } from 'react'

export default function Layout({
  children,
  slot,
  other,
}: {
  children: ReactNode
  slot: ReactNode
  other: ReactNode
}) {
  return (
    <div>
      <div style={{ border: '1px solid blue', padding: '1em' }}>{slot}</div>
      <div style={{ border: '1px solid green', padding: '1em' }}>{other}</div>
      {children}
    </div>
  )
}
Quest for Codev2.0.0
/
SIGN IN