Download next.js/examples/blog-with-comment/components/header.tsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 351 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/examples/blog-with-comment/components/header.tsx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/examples/blog-with-comment/components/header.tsx
-
curl -L -o header.tsx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/examples/blog-with-comment/components/header.tsx
351 Bytes
| import Link from "next/link"; | |
| import Container from "../components/container"; | |
| export default function Header() { | |
| return ( | |
| <header className="py-6"> | |
| <Container> | |
| <nav className="flex space-x-4"> | |
| <Link href="/">About</Link> | |
| <Link href="/posts">Posts</Link> | |
| </nav> | |
| </Container> | |
| </header> | |
| ); | |
| } | |