Download next.js/test/e2e/app-dir/app-css/app/css/css-nested/layout.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 321 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/e2e/app-dir/app-css/app/css/css-nested/layout.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/test/e2e/app-dir/app-css/app/css/css-nested/layout.js
-
curl -L -o layout.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/e2e/app-dir/app-css/app/css/css-nested/layout.js
321 Bytes
| 'use client' | |
| import './style.css' | |
| import styles from './style.module.css' | |
| export default function ClientLayout({ children }) { | |
| return ( | |
| <> | |
| <div className={styles['client-css']}>Client Layout: CSS Modules</div> | |
| <div className="client-css">Client Layout: Global CSS</div> | |
| {children} | |
| </> | |
| ) | |
| } | |