Download react-query/examples/react/nextjs-suspense-streaming/src/app/layout.tsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 335 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-query/examples/react/nextjs-suspense-streaming/src/app/layout.tsx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-query/examples/react/nextjs-suspense-streaming/src/app/layout.tsx
-
curl -L -o layout.tsx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-query/examples/react/nextjs-suspense-streaming/src/app/layout.tsx
335 Bytes
| import { Providers } from './providers' | |
| export const metadata = { | |
| title: 'Next.js', | |
| description: 'Generated by Next.js', | |
| } | |
| export default function RootLayout({ | |
| children, | |
| }: { | |
| children: React.ReactNode | |
| }) { | |
| return ( | |
| <html lang="en"> | |
| <body> | |
| <Providers>{children}</Providers> | |
| </body> | |
| </html> | |
| ) | |
| } | |