Download next.js/examples/auth/app/layout.tsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 303 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/examples/auth/app/layout.tsx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/examples/auth/app/layout.tsx
-
curl -L -o layout.tsx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/examples/auth/app/layout.tsx
303 Bytes
| import "./globals.css"; | |
| export const metadata = { | |
| title: "Next.js Authentication", | |
| description: "Example using NextAuth.js", | |
| }; | |
| export default function RootLayout({ | |
| children, | |
| }: { | |
| children: React.ReactNode; | |
| }) { | |
| return ( | |
| <html lang="en"> | |
| <body>{children}</body> | |
| </html> | |
| ); | |
| } | |