Download next.js/test/integration/amp-export-validation/pages/dog-cat.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 200 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/integration/amp-export-validation/pages/dog-cat.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/test/integration/amp-export-validation/pages/dog-cat.js
-
curl -L -o dog-cat.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/integration/amp-export-validation/pages/dog-cat.js
200 Bytes
| export const config = { amp: true } | |
| export default () => ( | |
| <div> | |
| {/* I throw an error since <amp-img/> should be used instead */} | |
| <img src="/dog.gif" height={400} width={800} /> | |
| </div> | |
| ) | |