react-code-dataset / next.js /test /development /basic /barrel-optimization /fixture /pages /visx.js
Download next.js/test/development/basic/barrel-optimization/fixture/pages/visx.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 254 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/development/basic/barrel-optimization/fixture/pages/visx.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/test/development/basic/barrel-optimization/fixture/pages/visx.js
-
curl -L -o visx.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/development/basic/barrel-optimization/fixture/pages/visx.js
254 Bytes
| import { Gradient } from '@visx/visx' | |
| export default function Page() { | |
| return ( | |
| <svg width={400} height={400}> | |
| <Gradient.GradientPinkBlue id="g" from="red" to="blue" /> | |
| <rect width={400} height={400} fill="url(#g)" /> | |
| </svg> | |
| ) | |
| } | |