Download next.js/test/integration/amphtml/pages/styled.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 270 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/integration/amphtml/pages/styled.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/test/integration/amphtml/pages/styled.js
-
curl -L -o styled.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/integration/amphtml/pages/styled.js
270 Bytes
| import Foo from '../components/Foo' | |
| import Bar from '../components/Bar' | |
| export const config = { amp: true } | |
| export default () => ( | |
| <div> | |
| <Foo /> | |
| <Bar /> | |
| <style jsx global>{` | |
| body { | |
| background-color: green; | |
| } | |
| `}</style> | |
| </div> | |
| ) | |