Download next.js/examples/amp/components/Layout.tsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 325 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/examples/amp/components/Layout.tsx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/examples/amp/components/Layout.tsx
-
curl -L -o Layout.tsx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/examples/amp/components/Layout.tsx
325 Bytes
| type LayoutProps = { | |
| children?: React.ReactNode; | |
| }; | |
| export default function Layout({ children }: LayoutProps) { | |
| return ( | |
| <> | |
| {children} | |
| <style jsx global>{` | |
| body { | |
| font-family: Roboto, sans-serif; | |
| padding: 30px; | |
| color: #444; | |
| } | |
| `}</style> | |
| </> | |
| ); | |
| } | |