Download next.js/test/development/app-dir/experimental-lightningcss/app/page.tsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 392 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/development/app-dir/experimental-lightningcss/app/page.tsx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/test/development/app-dir/experimental-lightningcss/app/page.tsx
-
curl -L -o page.tsx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/development/app-dir/experimental-lightningcss/app/page.tsx
392 Bytes
| import styles from './style.module.css' | |
| export default function Page() { | |
| console.log('CSSModules.styles', styles) | |
| return ( | |
| <> | |
| <p className={`search-keyword ${styles.blue}`}>hello world</p> | |
| <div className={`${styles.blue}`}> | |
| <div className="nested">Red due to nesting</div> | |
| </div> | |
| <div className="red-text">This text should be red.</div> | |
| </> | |
| ) | |
| } | |