Download next.js/test/development/basic/theme-ui/fixture/pages/_app.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 258 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/development/basic/theme-ui/fixture/pages/_app.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/test/development/basic/theme-ui/fixture/pages/_app.js
-
curl -L -o _app.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/development/basic/theme-ui/fixture/pages/_app.js
258 Bytes
| // basic usage | |
| import { ThemeProvider } from 'theme-ui' | |
| import theme from '../theme' | |
| function MyApp({ Component, pageProps }) { | |
| return ( | |
| <ThemeProvider theme={theme}> | |
| <Component {...pageProps} /> | |
| </ThemeProvider> | |
| ) | |
| } | |
| export default MyApp | |