react-code-dataset / next.js /test /development /app-dir /segment-explorer /app /parallel-routes-edge /layout.tsx
| export default function Layout({ children, bar, foo }) { | |
| return ( | |
| <div> | |
| <h1>Parallel Routes Layout</h1> | |
| <div id="nested-children">{children}</div> | |
| <div id="foo-slot">{foo}</div> | |
| <div id="bar-slot">{bar}</div> | |
| </div> | |
| ) | |
| } | |