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