Download next.js/test/e2e/async-modules/pages/config.jsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 588 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/e2e/async-modules/pages/config.jsx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/test/e2e/async-modules/pages/config.jsx
-
curl -L -o config.jsx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/e2e/async-modules/pages/config.jsx
588 Bytes
| import Head from 'next/head' | |
| export const config = { | |
| amp: true, | |
| } | |
| await Promise.resolve('tadaa') | |
| export default function Config() { | |
| const date = new Date() | |
| return ( | |
| <div> | |
| <Head> | |
| <script | |
| async | |
| key="amp-timeago" | |
| custom-element="amp-timeago" | |
| src="https://cdn.ampproject.org/v0/amp-timeago-0.1.js" | |
| /> | |
| ) | |
| } | |