Download next.js/test/development/basic/emotion-swc/fixture/pages/_app.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 351 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/development/basic/emotion-swc/fixture/pages/_app.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/test/development/basic/emotion-swc/fixture/pages/_app.js
-
curl -L -o _app.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/development/basic/emotion-swc/fixture/pages/_app.js
351 Bytes
| import createCache from '@emotion/cache' | |
| import { CacheProvider } from '@emotion/react' | |
| import { globalStyles } from '../shared/styles' | |
| const cache = createCache({ key: 'next' }) | |
| const App = ({ Component, pageProps }) => ( | |
| <CacheProvider value={cache}> | |
| {globalStyles} | |
| <Component {...pageProps} /> | |
| </CacheProvider> | |
| ) | |
| export default App | |