react-code-dataset / next.js /test /development /app-dir /segment-explorer /app /parallel-routes /layout.tsx
Download next.js/test/development/app-dir/segment-explorer/app/parallel-routes/layout.tsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 341 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/development/app-dir/segment-explorer/app/parallel-routes/layout.tsx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/test/development/app-dir/segment-explorer/app/parallel-routes/layout.tsx
-
curl -L -o layout.tsx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/development/app-dir/segment-explorer/app/parallel-routes/layout.tsx
341 Bytes
| export default function Layout({ children, bar, foo }) { | |
| return ( | |
| <main | |
| style={{ | |
| backgroundColor: '#fff', | |
| zIndex: 300, | |
| }} | |
| > | |
| <h1>Parallel Routes Layout</h1> | |
| <div id="nested-children">{children}</div> | |
| <div id="foo-slot">{foo}</div> | |
| <div id="bar-slot">{bar}</div> | |
| </main> | |
| ) | |
| } | |