react-code-dataset / next.js /test /development /basic /barrel-optimization /fixture /app /dedupe /page.js
Download next.js/test/development/basic/barrel-optimization/fixture/app/dedupe/page.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 606 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/development/basic/barrel-optimization/fixture/app/dedupe/page.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/test/development/basic/barrel-optimization/fixture/app/dedupe/page.js
-
curl -L -o page.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/development/basic/barrel-optimization/fixture/app/dedupe/page.js
606 Bytes
| // The barrel file shouldn't be transformed many times if it's imported multiple times. | |
| import { ImageIcon } from 'lucide-react' | |
| import { IceCream } from 'lucide-react' | |
| import { AccessibilityIcon } from 'lucide-react' | |
| import { VariableIcon } from 'lucide-react' | |
| import { Table2Icon } from 'lucide-react' | |
| import { Package2Icon } from 'lucide-react' | |
| import { ZapIcon } from 'lucide-react' | |
| export default function Page() { | |
| return ( | |
| <> | |
| <ImageIcon /> | |
| <IceCream /> | |
| <AccessibilityIcon /> | |
| <VariableIcon /> | |
| <Table2Icon /> | |
| <Package2Icon /> | |
| <ZapIcon /> | |
| </> | |
| ) | |
| } | |