Download next.js/examples/amp/components/Byline.tsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 302 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/examples/amp/components/Byline.tsx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/examples/amp/components/Byline.tsx
-
curl -L -o Byline.tsx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/examples/amp/components/Byline.tsx
302 Bytes
| type BylineProps = { | |
| author: string; | |
| }; | |
| export default function Byline({ author }: BylineProps) { | |
| return ( | |
| <> | |
| <div className="byline">By {author}</div> | |
| <style jsx>{` | |
| .byline { | |
| color: green; | |
| font-weight: bolder; | |
| } | |
| `}</style> | |
| </> | |
| ); | |
| } | |