Download next.js/test/development/basic/theme-ui/fixture/pages/index.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 291 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/development/basic/theme-ui/fixture/pages/index.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/test/development/basic/theme-ui/fixture/pages/index.js
-
curl -L -o index.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/development/basic/theme-ui/fixture/pages/index.js
291 Bytes
| export default function Home() { | |
| return ( | |
| <div | |
| id="hello" | |
| sx={{ | |
| fontWeight: 'bold', | |
| fontSize: 4, // picks up value from `theme.fontSizes[4]` | |
| color: 'primary', // picks up value from `theme.colors.primary` | |
| }} | |
| > | |
| Hello | |
| </div> | |
| ) | |
| } | |