Download next.js/test/e2e/app-dir/app-alias/src/app/button/page.tsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 217 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/e2e/app-dir/app-alias/src/app/button/page.tsx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/test/e2e/app-dir/app-alias/src/app/button/page.tsx
-
curl -L -o page.tsx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/e2e/app-dir/app-alias/src/app/button/page.tsx
217 Bytes
| import Button from '@/ui/button' | |
| import React from 'react' | |
| export default function page() { | |
| if ('useState' in React) { | |
| throw new Error('React is not resolved correctly.') | |
| } | |
| return <Button>click</Button> | |
| } | |